Tuesday, July 2, 2013

How to give IP instead of localhost - tomcat ?

How to give IP instead of localhost



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

Total Pageviews

Translate