tags:

views:

57

answers:

3

Hi,

We have Tomcat 6 installed and running on an external facing server. It is set to listen to port 8082. I was able to see the default welcome page through localhost:8082. In addition, our network guy has already granted access for 8082 communications. However, this server is still not accessible from outside(with http://ip:8082).

Can someone please share some wisdom?

Thanks,

A: 

Possibly it's only listening on the loopback interface, so it will never be reached over any other interface. Sorry, I have no experience with configuring tomcat. But you should change the interface binding configuration.

jigfox
Thanks, Jens.If you meant binding server's IP in server.xml. It doesn't work either. Still wondering if I missed something simple...
archenil
+1  A: 

I'd start with something simple. Try telnetting to port 8082 on that IP address. If your Tomcat instance is up and running and listening on port 8082 but you can't telnet to it, then it's not getting through your firewall (regardless of what your network guy says).

Shadowman
Actually, telnet is disabled and the firewall has been turned of on the server side.
archenil
When you telnet to port 8082, you're just opening up a TCP socket on that port. You're not trying to establish a typical telnet session. It will let you quickly determine if the port is available or if it's being blocked.
Shadowman
A: 

Try changing Tomcat Connector port to 8080 or even 80 if possible. According to IANA http://www.iana.org/assignments/port-numbers HTTP alternative port is 8008, which I haven't tried before.

I would imagine if you are in a big corporation network, they may have a policy disabling outbound traffic to nonstandard ports. Only the network administrator knows best what is allowed and what isn't.

Photodeus