Cannot open port

Posted March 10, 2014 11.4k views
I have a program I would like to listen on port 49271, however I cannot get that port open. I have tried this with both Ubuntu and Debian. I have used iptables and ufw and both say that this port is open upon reboot. However I cannot access this port from a remote connection. Is there something else blocking the ports like security groups in AWS? I have no problem opening ports on AWS.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
I believe you should look this answer here:

also here:
In order to connect you'll need to have a service listening on that port. First check the output of this command to see if the port is listening:
sudo netstat -ntulp