Aug 9, 2011
tom

Standalone tomcat 5.5 can’t access other than on localhost

Question

Clean install of Tomcat 5.5. I know it’s older, but the webapp I am needing does not support newer versions. I can access it just fine using localhost, but I can’t get to it from a remote computer. Sends a 404 error. I am really new to this stuff, so if there is something stupid you would not even suggest, please do it anyway. :)

Thanks for any help in advance.

Brian

Answer

Open the /path/to/tomcat/conf/server.xml file and remove address="127.0.0.1" from <Connector tag:

<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />

Related posts:

  1. how to use Apache mod_proxy to provide access to Tomcat webapp
  2. mod_jk to forward to tomcat installed on other server?
  3. am i adding mod_proxy on CentOS with tomcat/apache correctly?
  4. Will JSP Modification remain after Tomcat restart?
  5. Tomcat .war deployment and rollback

Leave a comment