The pgAdmin 4 server could not be contacted

The pgAdmin 4 PostgreSQL server could not be contacted

After the system updates and the laptop is rebooted, I tried launch the pgAdmin 4 tool. But the pgAdmin 4 PostgreSQL server could not be contacted. I tried several solutions that mentioned in many forums, but it did not work for me. I will walk you through the steps I tried to resolve this issue.

The pgAdmin 4 server could not be contacted

Once the system update is done, after I reboot and launching pgAdmin 4 I got the following error.

The pgAdmin 4 server could not be contacted

As I mentioned none of the suggestion from forums worked for me. Hence I was trying to figure out is there is any setting/ configuration for connection timeout in the pgAdmin 4 tool.

Solu

I clicked the “Configure…” button that was there in the fatal error dialog window. It opened up the following pgAdmin 4 configuration window which has connection timeout settings. I tried to increase the default 90 seconds timeout value to 260 seconds timeout value as shown below.

The pgAdmin 4 server could not be contacted: connection timeout

Finally, pgAdmin 4 must be restarted for the changes to take effect. Once you click the “Save” button it will show the following dialog which asks whether you want to quit the application. Click “Ok”

quit pgAdmin 4 server could not be contacted

That’s all I did to resolve this issue. Now launch the pgAdmin 4 tool again. Now you should not see the error “pgAdmin 4 server could not be contacted” again.

Hope it helped 🙂

References

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments