I'v tried to connect to pgadmin from the browser using the port that I exposed (localhost:8091) but the page displays
This site can’t be reached
localhost refused to connect
I am using windows10 Home.
I created two containers one for the pgadmin and the second for the postgres.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
01eec2da2408 dpage/pgadmin4 "/entrypoint.sh" 2 hours ago Up 2 hours 443/tcp, 0.0.0.0:8091->80/tcp mypgadmin
fb282d9c392a postgres "docker-entrypoint.s…" 43 hours ago Up 43 hours 0.0.0.0:9090->5432/tcp mypg