Netstat
From Useful Things
Common arguments
-t include tcp
-u include udp
-l show only listening sockets
-p show PID and program name
-n show numeric addresses
Who is listening on what port?
netstat -tulpn-t include tcp
-u include udp
-l show only listening sockets
-p show PID and program name
-n show numeric addresses
netstat -tulpn