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.
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
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.
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
described sollution how to close local postgres server is for windows but I guess it should be easy to find how to close for other os in web
Amazing man. This is the exact way to solve this issue.
Bro you're a lifesaver
If it helps, services.msc can be accessed by pressing Windows Key+R and entering 'services.msc'.
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
what if i want to access it remotely?
in windows pgadmin4
Thank you for sharing. It helped me alot ..am you 20th subcriber, good luck on your youtube and IT journey👍
Thanks for subbing!
here the postgresql is out of docker but pgadmin not
Thanks so much , you help me! thx
thanks man, ít's really help me
You rock!