Port only accessible from localhost


Dec 3, 2018
cPanel Access Level
Root Administrator

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= 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.