Port only accessible from localhost
Hello,
I have a server that hosts 40 websites. I built a nodeJS app that creates a server on port 3000. In order to be able to connect to it, I opened the port using the WHM interface, and I also added the line tcp|in|d=3000|s=0.0.0.0 in order to allow all ips to access this port.
On the WHM interface, when my app is running, I can see the server listening on port 3000. Also, if I try wget localhost:3000 it works like a charm and I get the files. The only problem is when trying to access the server from the browser, it gets no response.
I am new to this, so sorry if I didn't give enough details. I'll be happy to provide more.
-
Ask your server provider if they are blocking the port 3000 0 -
Thanks, that was the problem 0 -
Hello, I'm glad to hear that you were able to resolve the issue, thanks for letting us know as well! 0
Please sign in to leave a comment.
Comments
3 comments