I have PSQL running, and am trying to get a perl application connecting to the database. Is there a command to find the current port and host that the database is running on
service postgresql status
returns: 10/main (port 5432): online
I'm running Ubuntu 18.04