-2
I created a container on Docker with the following command:
docker run --name database -e POSTGRES_PASSWORD=senha -p 5432:5432 -d postgres
When I try to access via Postbird, I get the following error:
What I’ve tried, but it didn’t work:
- Set the host field to localhost. Error: connect ECONNREFUSED.
- Set the host field to the ip that the Docker is initialized. Error: connect ECONNREFUSED.
- Create another container directed to door 5433. Error: connect ECONNREFUSED.
Has anyone been there? Could you help me?