Report this

What is the reason for this report?

Hosting more than one Node.JS bot on a single droplet

Posted on February 11, 2018

Hello, I am fairly new to this hosting business. I am currently making Discord and Twitter bots using Node.JS. I have one that uses a mongo database and one that will use SQLite. They each have their own accounts. My question is, will I be able to run them both at the same time on a single droplet? Or will I need to get two droplets?



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!

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.

This comment has been deleted

Yes, you can run multiple Node.JS applications on single Droplet. You just need to make sure they’re not running on the same port, but as long as they aren’t, you can.

For that, you can use something such as pm2, to easily manage applications. Check out the How To Set Up a Node.js Application for Production on Ubuntu 16.04 to learn how to use pm2 to manage your applications.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.