lsof -i and nmap output different [migrated]
To test my PostgreSQL, I had to find its port number.
I ran two different commands to see what it is:
nmap localhost
lsof -i | grep postgres
I was confused when the two commands returned different port numbers, but surprised when I foun… Continue reading lsof -i and nmap output different [migrated]