Question
Deployd (Node.js) only accepts local connections
I cannot not connect to my deployd server externally on 45.55.183.253:5000
. I can connect to it locally with no problems.
I am running the ubuntu 12.04 image.
A netstat -ntap
shows the following:
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 8906/nodejs
The code used for the server is taken from the documentation. I have tested with adding both port and server location in .listen()
. The script is run with forever. But I have also tested with just running the script with node.
I have also tested with the test server from the node.js page, with the port as the only argument in listen()
. Still with no luck.
Is there any configuration that I need to do to allow the server to be accessed externally? Any help would be very much appreciated.
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.
×