168

I am using pgadmin version 6.1. I am trying to connect to my postgres db hosted in docker with pgadmin on my local machine.

I used the below command to get the docker container ip address: docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id

akametta
  • 1,781
  • 2
  • 7
  • 4

5 Answers5

349

When starting Pgadmin4, did you set a "master" password or just bypass that prompt? I just ran into the same thing and restarted setting the "master" password and was able to continue without that error.

enter image description here

Siwei
  • 19,858
  • 7
  • 75
  • 95
Numski
  • 3,491
  • 1
  • 2
  • 3
5

Set Master password. This worked for pgadmin4-6.15 in windows

2

After installing the server, I just had to restart my machine to make it working.

Sundeep
  • 2,035
  • 2
  • 23
  • 38
1

master password has to be set first then you will be able to register a new ser with login and password

0

I noticed this happening, when I skip entering the master password but try adding the new server. I restarted it and entered the master password and it worked.

Ayush
  • 485
  • 2
  • 6
  • 19