aspose file tools*
The moose likes Tomcat and the fly likes Connecting to Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Connecting to Tomcat" Watch "Connecting to Tomcat" New topic
Author

Connecting to Tomcat

Kudret Serin
Ranch Hand

Joined: Aug 02, 2005
Posts: 167

Hi all,
I can connect to Tomcat server from my localhost. (with http://localhost:8089 or http://10.0.0.1:8089 )
But when i want to connect from another machine in LAN, i can not. (with http://10.0.0.1:8089)
What should i do in order to connect to Tomcat from another machine?
(PS: I dont have any network problems in LAN, also ip addresses are correct )
Thanks in advance
Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
If you are not on Windows XP, then sorry this does not help you.
But if you are, make sure the port you are using for tomcat is not blocked on your localhost. Check "control panel"/"security center"/"windows firewall"/"exceptions", and add tomcat to the list and uncheck "Don't allow exceptions".

HTH.
[ January 30, 2006: Message edited by: Ben Zung ]
Kudret Serin
Ranch Hand

Joined: Aug 02, 2005
Posts: 167

Thanks for the reply. I use Win XP.
I am going to check the win firewall settings.
Do i have to change some settings in tomcat? (in config files, server.xml, web.xml etc) ?
Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
You might want to do one thing at a time. Keep your tomcat as it is and adjust your firewall settings to see if it fixes your problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to Tomcat