How to give IP instead of localhost
http://localhost:8080/login.htm is working but http://your_ip:8080/login.htm is not ...!
The problem is in your server's 'server.xml' file. (in Apache installed directory)
<Connector port="8080" protocol="HTTP/1.1"
address="127.0.0.1"
connectionTimeout="20000"
redirectPort="8443" />
change it as
<Connector port="8080" protocol="HTTP/1.1"
address="0.0.0.0"
connectionTimeout="20000"
redirectPort="8443" />
Thats it !
No comments:
Post a Comment