pgAdmin not connecting with postgres Docker image

preview_player
Показать описание
Hi Guys,
I was unable to connect pgAdmin directly with the docker image of postgres using the localhost ip.
Fix ip address of image of postgres used.

terminal command : docker inspect {postgres image name or id}

Please consider subscribing. Thanks
Рекомендации по теме
Комментарии
Автор

Thank you, friend. The instructions on the official docker hub as well as pgadmin's website are not clear to say the least. If anything they are damn confusing. Your walk through solved my problem.

omairtech
Автор

i was facing this issue but i did like you and it worked, but there is a message says:
Unable to connect to server: connection timeout expired

abdelrahmansoliman
Автор

Thank you for sharing. It helped me alot ..am you 20th subcriber, good luck on your youtube and IT journey👍

flapa
Автор

thanks man, ít's really help me <3

PoAndGau
Автор

it didn't work for me due to error when creating server connection in pgadmin "Unable to connect to server: connection timeout expired" but i found work around to connect by localhost, I just needed to close local postgres server so local and docker one are not conflting

Open the Services management console (services.msc).
Find the PostgreSQL service in the list (it might be named something like postgresql-x64-13).
Right-click on the PostgreSQL service and select Stop.

then you should be able to create connection by localhost

wilkbartosz
Автор

here the postgresql is out of docker but pgadmin not

daviamerico