Docker Community Forums

Share and learn in the Docker community.

Connection refused while connecting two containers

I am trying to connect my crud app image with postgres database. But is is showing an error : connection refused. I have exposed port of both the containers. I am passing database params while running app image.