Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local ip ( and also a public ip (yyy.yyy.yyy.yyy) for my local server. I host a website in the local server on port 5555. I can open my website from the local ip ( but I can't open it from my public ip (http://yyy.yyy.yyy.yyy:5555).

I'm not the server admin, but I was operating under the assumption that I should be able to access the port that is open in the local IP through the public IP. Apparently I am wrong; how can I determine what the cause of this problem is?

share|improve this question

closed as off-topic by EEAA, MDMarra, Wesley, Dennis Kaarsemaker, Iain Sep 24 '13 at 6:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – EEAA, MDMarra, Wesley, Dennis Kaarsemaker, Iain
If this question can be reworded to fit the rules in the help center, please edit the question.

Contact your system administrator. – Michael Hampton Sep 24 '13 at 1:59
Port 5555 needs to be forwarded from the public ip to the private ip. This is done on your firewall or router. – joeqwerty Sep 24 '13 at 2:17
Are you trying to access the server by its public IP from inside the same local network where the server is? That won't work unless your router has specific support for hairpin (or loopback) NAT. Port forwarding will not do this. – David Schwartz Sep 24 '13 at 3:01
up vote 0 down vote accepted

There can be several things going on.

First, it sounds like you are may be talking about accessing your public IP from within your private network, attached to the private IP side of your server. That requires two things to be working: your server software needs to be attached to the public IP, and your private IP needs to forward to your public IP (and back).

So, the first thing to do is figure out which of those is not working. Go to another Internet access point, outside your local network, and try accessing your public IP. That will tell you if your server software is attaching to your public IP address, and that your firewall is allowing outside connections through that IP.

If that works, try connecting to some other publicly-accessible port on your server from inside your local network. If that fails, there can be a range of issues, from your firewall blocking access, to NAT not passing packets one way or the other.

Following those instructions, you should at least get closer to your solution. If you post your findings, along with some more details about your configuration, and we can help further.

On the other hand, if not being the server administrator means that you don't have access to the logs or firewall configuration, you will need to speak with the person who does.

share|improve this answer

You will need to make sure that your modem allows for port forwarding. Then you can port forward all :5555 to your local server. If you have a router, you can place your modem in bridemode to make things easier. In some cases this is required.

Contact your ISP and modem documentation for more.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.