Network access to Tomcat webserver

Dell / XPS 400
January 15, 2009 at 17:35:58
Specs: Windows XP, 2gb
Hi Everyone, I am trying to access my xp machine that is running tomcat from my other networked machines. All jsp files run fine from the machine tomcat is on but how do I access them from another networked machine. If I type http://localhost:8080/xxxx.jsp from the tomcat machine wich is called dimxps, shouldn't i be able to type http://dimxps/localhost:8080/xxxx.jsp from the other machine and see my server side form? I'm at a loss and I know I did this before a while back, but cannot figure out how. Any help would be appreciated. Thank you, W

See More: Network access to Tomcat webserver

Report •


#1
January 15, 2009 at 19:32:50
Replace localhost with the machine's IP address the same way you would to access the router's web interface. See if that works.
http://192.168.0.2 or whatever it is.

Once you go to another machine, it is no longer localhost.


Report •

#2
January 15, 2009 at 19:42:58
I agree. The computer name is not the same as a FQDN. You could fool it by using a hosts file to set it but usually it is a bad deal. You tend to forget the hosts entry.

"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10


Report •

#3
January 16, 2009 at 05:33:32
That did it!

Thank you very much!!!!

W


Report •

Related Solutions


Ask Question