List open ports on Mac OS X
Mac OS X is unix-based, which for all practical purposes for the software developer/system administrator implies that some of the useful linux commands like netstat isn't available in your Mac Terminal.
On a linux machine, listening to the various open ports on it is as simple as running:
- netstat -atp | grep -i "listen"
- sudo lsof -i -P | grep -i "listen"
- a regular file,
- a directory,
- a block special file,
- a character special file,
- an executing text reference,
- a library,
- a stream or
- a network file (Internet socket, NFS file or UNIX domain socket)
Category: OS X



Leave a Comment :
Leave a Comment