I have installed PostgreSQL on Ubuntu and created a database.
Now, when my app tries to connect to an RDMS via localhost (127.0.0.1) tcp connection, I get an error.
Which command can I use to see on what endpoints does PostgreSQL engine listens for incoming connections?