Report this

What is the reason for this report?

Can't connect to postgres

Posted on September 19, 2021

I was able to connect to PostgreSQL previously but after deleting the database and spinning up a new instance it no longer connects and is always showing operation timed out. It’s asking is the server running on host and accepting TCP/IP connections on port 25060?

I added this database through Apps as an extra component/service.



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.

Hi @quangas,

You need to use the Trusted Sources tab in your Control Panel. I’ll recommend checking out the DigitalOcean Documentation on APP Platform and how to manage it here:

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/

Check the Connect to a Database section where it should help with the issue.

Regards, KFSys

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.