I am trying to set up postgres with docker. I want to verify the address for my database, thus I tried ping 0.0.0.0:5432 and ping 127.0.0.1:5432 and ping localhost:5432, but all returned Unknown host and cannot be resolved.
Why is that? what is the correct address for postgres? My psql is running correctly.