I installed Tomcat 6.0 into Fedora 10. I'm able to see my webapp on browser doing a simple http://localhost:8080/HomeApp from the server computer.
I saw that my server computer has an IP of 192.168.1.5 by doing /sbin/ifconfig. So I replaced the localhost with the server IP and it was also working.
However when I go to another computer at home I get "Connection timed out".
This is weird because I can actually ping the home server from the client computer successfully.
Anyone knows whats wrong? I'm using this Verizon Fios as my home router with default configurations.
Thanks in advance.
Best Answer
Any application (tomcat in this case) can bind to any address or to a specific address. I guess your tomcat installation is binded to localhost only, that's why you can't access it from another host.
Look for the tomcat/conf/server.xml file and look for some text like:
If you find the address attribute, remove it and it should bind to every ip addres (i.e. localhost and 192.168.1.5).