Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 Ubuntu server I am trying to the port 8550 to be accessible on the server public IP address, I can hit the web service running on that port from the server itself but not from the public IP address.

running this netstat -anltp | grep "8550"

the output is tcp 0 0* LISTEN 23961/python

Does this look right or the IP address should be if so how can I achieve that

What should I add to the iptables (I guess) in order to enable this port publicly


share|improve this question
Is the server connected to a router where the port is being blocked? – John Dec 18 '13 at 18:03
Thanks John, resolved already I did a silly mistake answer is below – bhappy Dec 18 '13 at 18:04
up vote 3 down vote accepted

I figured it out

My mistake that my python service was listening to port 8550 on localhost.

To solve this issue I changed localhost to and that resolves the issue

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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