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?
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!
Use lsof -i :3000 -n to find out whether it’s listening, and if so, whether its bound to localhost or not.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.