title: How do I connect to a docker postgreSQL container from outside the host
body: <p>I have a docker container running postgresql connected to another container (webmapping server) on an ubuntu host. I would like to connect to my database from outside the host (another machine on the same network).</p>
  <p>I'm able to connect to the database from the host (PGadmin), from the other container but not from outside the host (through public IP)
  <a href="https://i.stack.imgur.com/dPzdc.png" rel="nofollow noreferrer">error screenshot on PGadmin</a></p>
  <p>how should I fix this ?</p>
  <p>many thanks, Thomas</p>