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?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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