OS X – List the opening ports

In Linux, i always do

netstat -tuna

 

For Mac OS X:

sudo lsof -i -P | grep -i "listen"

 

Done =)

Reference: List open ports on your machine (Mac OS X)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.