I've done some research and found several places where people suggest using netstat
to check which port a particular process is using.
But here is what I got:
myMac:~/Documents$ netstat -ap tcp | grep -i "listen"
tcp4 0 0 localhost.mysql *.* LISTEN
What does localhost.mysql
say about the port number?? I'm expecting a 4 digit number like 3306.
Any thoughts?
-n
to netstat will prevent conversion. – Economical