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

October 11, 2018 1.3k 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.

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