• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem accessing Tomcat from outside my LAN !

 
Ami Jay
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to access Tomcat from a network outside my LAN. It works fine within my LAN but doesn't work outside it. When I type ipconfig on my server machine, i get the following lines

Connection-specific DNS Suffix . : wiu.edu
IP Address. . . . . . . . . . . . : 207.246.188.244
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 207.246.188.1

I use the IP address shown above along with port number 7000 to access my Tomcat server.

I chose port number as 7000 because I have some oracle stuff running on ports 80 and 8080.


Can anyone tell me where I am going wrong or what should i do to access Tomcat outside my LAN ???

Thanks !!!
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information from ipconfig is LAN info, not internet info. Go to whatsmyip.org from that machine to easily determine the internet IP.

If the server is hooked up to a router, traffic on port 7000 will probably need to be redirected to that machine's LAN IP with the router.
 
Ami Jay
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir,
Thank you for your reply. As u said i went to http://www.whatsmyip.org/ and checked my ip address there. Actually, it matched with the one shown by ipconfig.

If possible, can u please explain in more detail about

"If the server is hooked up to a router, traffic on port 7000 will probably need to be redirected to that machine's LAN IP with the router."

Actually, I am not the admin of my LAN but i can talk to my admin regarding whatevere u say.

Thank you,
Amith
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting that your IP from ipconfig and whatsmyip.org are the same, which means I'm already out of my element.

Here's my setup at home:

Tomcat and Apache running on machine connected to router, connected to cable modem. Router directs internet traffic from port 80 and 8080 to that machine's LAN IP. I can access Tomcat, directly, from anywhere.

You mentioned that you have something on port 8080, if you can access that from outside the LAN, have the systems person set things up the same way for port 7000.
[ November 03, 2004: Message edited by: Ray Stojonic ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I chose port number as 7000 because I have some oracle stuff running on ports 80 and 8080.

Any LAN admin worth his/her pay is going to have a firewall in place that blocks connections to all ports except those specifically allowed. Opening all ports to the outside world is asking for trouble.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic