How to connect local pgadmin to a remote docker/postgres
0
votes
1
answer
151
views
Prostgres db is running in docker on a VPS (Ubuntu).
docker ps
4f945e0bf0bc postgres "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp postgres-0
From a Windows PC, I want to connect to the database using pgadmin, but it's not successfull :
Unable to connect to server: connection timeout expired
.
In the "Host name/address" field of pgadmin I've entered the IP address of the Ubuntu server.
See output of command "ip a"
What else do I need to configure so that pgadmin can access the DB ?


Asked by user2023141
(99 rep)
Nov 9, 2024, 02:11 PM
Last activity: Nov 28, 2024, 02:46 PM
Last activity: Nov 28, 2024, 02:46 PM