Fail to access a local LabKey Server from internet

Installation Forum (Inactive)
Fail to access a local LabKey Server from internet you  2015-05-05 06:27
Status: Closed
 
I set up LabKey Server 15.1 on a local Windows Server on port 8180. It works fine if I visit "localhost:8180/labkey" on that local machine.

But I cannot visit that server from internet "external_ip_address/8180", where the "external_ip_address" is the ip I got from "showip.com" on the local Windows Server.

I found that the port 8180 is closed from the view of the internet (seen from www.yougetsignal.com/tools/open-ports/), and when I run "netstat -n", I see:
"
Proto Local Address Foreign Address State
TCP 127.0.0.1:8180 127.0.0.1.63546 Established
TCP 127.0.0.1:8180 127.0.0.1.63547 Established
"

Any suggestion please?
 
 
Jon (LabKey DevOps) responded:  2015-05-05 16:22
Hi You,

The type of problem you're describing sounds like a firewall issue. If you are able to connect to it via localhost, then it shows that Tomcat is functional.

The typical way to approach networking problems is to:

1. See if you can connect via localhost (which you've done)
2. See if you can connect via internal IP address within the same network from another machine
3. See if you can connect via internal IP address from a different subnet
4. See if you can connect via external IP outside of the network

Troubleshooting it like this will allow you to determine whether it's the server with its own firewall configuration, a problem with the router which also may have a firewall, or possibly an ISP issue if they're port blocking.

There are many resources online that cover Tomcat connectivity issues. This is a good one to start with that I would recommend reviewing - http://www.tech-recipes.com/rx/38898/how-to-solve-common-tomcat-problems-windows/

Please let us know if you have any questions.

Regards,

Jon