Question
How to connect NodeJS on a droplet to postgres database on another droplet?
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?
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.
×