Question

unable to connect to managed postgreSQL database through pgadmin4

I have been attempting to connect to a database I have setup using pgAdmin4. However, using the connection parameter credentials and connection details, I only receive a connection timeout expired error in pgAdmin4. I have added my computer as a trusted source, so I don’t think that’s the issue. I have not done anything with a certificate or anything like that - am I missing a step to get this working? Thanks in advance.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 26, 2023
Accepted Answer

Hi there,

It sounds like that you might have a dynamic IP address and once your IP changes you would need to add the new IP to the trusted sources.

I could suggest verifying if this is the case by visiting this site here:

https://ifconfig.io/

Getting the IP from there and then adding it to the trusted sources list.

Also after that make sure that you are using the correct database port and not the default 5432 one.

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel