How to connect NodeJS on a droplet to postgres database on another droplet?

October 11, 2018 345 views
Node.js PostgreSQL Ubuntu 18.04

I followed the steps in this tutorial to set up nodeJS web server in ubuntu-18-04.

Now what I should take into account while following this tutorial to set up postgres on another droplet in order to be able to connect to it from the other droplet?

Be the first one to answer this question.