Question

Port 3000 suddenly stopped working, thoughts?

I’ve been running a rails server (in dev mode) on a server for the past week. Everything has been fine, been accessing it through port IP:3000 without any problems from the start. Now, I get a ERR_CONNECTION_REFUSED when I try to reach it from my local machine. I can’t think of anything that would have changed. From what I know, I shouldn’t have to explicitly open port 3000 on DO.

I’ll also note that if I VNC into the server, and try to reach localhost:3000, I get the page right away. Any thoughts?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Use lsof -i :3000 -n to find out whether it’s listening, and if so, whether its bound to localhost or not.