Mac OS X: how to list all open ports running in your machine
In Mac OS X, I do use netstat -a -p tcp Though the ideal one to list all open ports in Mac OS X being opened is lsof -i -P | grep -i "listen" Simple command, but hope that helps.