you can use command line utillity "fport"

This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name...