0

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

1 Answers1

1

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" />

EDIT

  netstat -nao | findstr :80

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       3180
  TCP    0.0.0.0:8009           0.0.0.0:0              LISTENING       3180
  TCP    74.208.231.23:80       0.0.0.0:0              LISTENING       4
  TCP    127.0.0.1:8005         0.0.0.0:0              LISTENING       3180
  TCP    [::]:80                [::]:0                 LISTENING       3180
  TCP    [::]:8009              [::]:0                 LISTENING       3180

Pay attention to the last column of netstat output. There is a process (PID 4) listen on port 80. Stop all other processes listen on port 80 (Web Development Agent, Microsoft SQL Reporting, ...) and try again.

quanta
  • 50,327
  • 19
  • 152
  • 213