I am attempting to run pgAdmin 4 on my laptop. I have got it to run once before with the help of a professional from Revature. He used Team Viewer to fix the issue hands on. He mentioned that there was a firewall issue but I have allowed pgAdmin to bypass the firewall. Unfortunately due to the policy, he cannot do that anymore hence why I am stuck in this predicament. Any help will be useful. Here are the steps that I have tried:
Specs: postgresql-12.2-1-windows-x64 with pgAdmin4 included also pgAdmin 4 v4.18
- Open Windows Explorer by opening any folder
- In the address bar, type "%APPDATA%" and press Enter
- Delete the "pgAdmin" folder in this directory
- Start pgAdmin again
But still the issue is not resolved.
Next I tried this:
First, verify that your PostgreSQL database server is running by hitting
Ctrl+Alt+Delete
, opening the Task Manager, and then going to the "Services" tab.
Pretty sure you're familiar with this process since you said you've done it before. Just find "postgresql-x64-XX" and make sure it's in Running status. If it's not, right-click and select "Start".Then Go to
C:\Program Files\PostgreSQL\11\pgAdmin 4\web
(assuming you're using the latest version of PostgreSQL database and pgAdmin) 3.Right-click "config-distro.py" and select "edit" or "Open With" -> Notepad.exeChange "SERVER_MODE" from true to false and save
- Clear the
%APPDATA%
cache for pgAdmin again - Start pgAdmin
Next I watched this video. https://www.youtube.com/watch?v=0YvVPgTrYqU Explains how to run pgAdmin through Chrome. This didn't work.
Fatal Error "The server could not be contacted."
I'm not sure what else to do at this point. The attached file is the error message that I keep getting. "Fatal Error. The server could not be contacted"