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.
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.
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”
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 🙂
- Visualize database tables and relations in postgreSQL using PgAdmin ?
- How to Start Stop Restart MariaDB on Linux OS ?
- MariaDB – How to set max_connections permanently ?
- Find mongo documents where a field contains a string pattern
- How to set or change root password in Ubuntu Linux ?
- Putty Fatal Error No supported authentication methods available
- How to find which users belongs to a specific group in linux
- Give write permissions for specific user or group for specific folder in linux
- How to unzip a zip file from Terminal (Google Cloud Shell)
- Sort numeric strings as numbers in mongodb database
- GCP Virtual Private Cloud (VPC) Networks Fundamentals
- Sort numeric strings as numbers in mongodb database
- Is it possible to change Google Cloud Platform Project ID ?
- Create non-root SSH user account and provide access to specific folders
- What is the purpose of Git Stash command ?
- Which version of PostgreSQL database engine is running ?
- Search a specific string in JSON or JSONB array in PostgreSQL ?