Question

How do I turn off NGINX and Unicorn on the Ruby on Rails droplet?

I am trying to do the “Rails Tutorial”, and I did a Ruby on rails on ubuntu droplet, but I can’t get NGINX and Unicorn to stop, and allow me to run my little initial test webrick. I have tried service nginx stop and service unicorn stop, and although the web page stops showing up, I cant get it to show my webrick page at port 3000.

I have pretty much accepted that I will just have to delete my server and start from scratch on an empty ubuntu server, how unpleasant.

Show comments

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.

There is no error message. I turn off unicorn and nginx and try to run webrick, and local host:3000 shows nothing at all.

And thanks for being a prick to me after I said I’d try it again. You guys are assholes.

:( well maybe there is issues with the rails on ubuntu image, i will try a fresh rails install on just an ubuntu image later

You had the correct command to shutdown nginx and unicorn, so I’m not sure what else you did wrong here but there’s nothing DigitalOcean could really do.