Been working through the tutorials, google, everything I can find to figure out why my Postgres server won’t talk with the other droplets on the account. SSH does work between all the droplets, Postgres does not.
listen address is setup to the private network address (even tried with *). HBA file has all other droplets private addresses (even tried with allow all addresses) Tried with UFW both on and off. Can connect on machine from CLI but not from others.
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!
Hey friend,
While I’m not a heavy Postgres user myself, I found this tutorial and it’s leading me to believe that there may be just a bit more necessary than bind address and an open port, does this tutorial seem at all helpful?
https://blog.bigbinary.com/2016/01/23/configure-postgresql-to-allow-remote-connection.html
My apologies if not.
Jarland
Nope. The issue was a setting. Also using the Cloud Firewalls and didn’t realize they also work on the private interface as well as the public one.
A case of being over secure by accident.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.