Netstat

From Useful Things
Jump to: navigation, search

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