Unable to connect to postgresql server running inside a docker container on a remote machine.
Answered
From my local Mac machine, I'm trying to connect to the postgresql server running inside a docker container on a remote machine but I am unable to do so. I see the following error: https://pastebin.com/Qify3Zu5.
Can anyone help?
Thanks
Wasif
Please sign in to leave a comment.
Hi,
You're trying to connect to localhost:
You need to specify correct endpoint or set up ssh tunnel to remote machine.
Thank you.
use special HOST to your psql. You could find it in docker-compose.yml