netstat -pan | grep LISTEN
Show processes with their PID's that are listening for connections
netstat -a | grep ESTABLISHED
Show established connections to the server