Ubuntu – Why would localhost:8080 give a 404 error

tomcatUbuntu

Does the 404 error localhost:8080 mean that Tomcat can't find the index.html or that it is down completely?

In my case the netstat command shows there is something listening on port 8080

$ netstat -an | grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN     

Or could this be something broken with Tomcat configuration? If it matters in this case, I use Ubuntu.

Thanks,
Alex

Best Answer

I've heard of Tomcat problems with machines using ipv6. Try to blacklist the ipv6 module on /etc/modprobe.d directory and reboot to see if it binds correctly.

Related Topic