How to port forward

Posted February 7, 2019 3.3k views
FirewallUbuntu 16.04

how to open port 27015 27017.. pls help me.. i have try add it but when i check at Port Checker but its doesnt open it..

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
1 answer

Hey friend,

Great question! I want to dig a bit further on this. Typically when I see a question of this nature, the question is easily misunderstood. In those cases it isn’t that the user wants the port open by itself, it’s that they expect something to happen when they query that port. This can be confused as needing to open the port, when the reality is that the underlying question is “Why isn’t the application I’m running answering queries on the port that I expect it to?”

Correct me if you see that my logic is wrong, but it is my experience that leads me to shift direction slightly when I hear this question. To that end I would ask you, what is it that you expect to be running on these ports?

If you run “netstat -tulpn” and do not see those ports listed, opening the port will not be helpful, as you have no application currently listening on those ports. If that be the case, we should focus on troubleshooting the expectations of that app and how to get it to do what you want it to do.