Netstat

From Mac OS X Server FAQ

Jump to: navigation, search

use netstat

eg: netstat -l -p tcp (shows listening ports)


Show ports listenig for incoming connections:

netstat -na | grep LIST


Show current connections:

netstat -na | grep ESTA
Personal tools
Toolbox