March 31, 2006

List Ports and Processes on Linux

Quickly identify open ports and the processes using them on Linux with netstat -lp. Learn how to troubleshoot and monitor network activity with ease.

Have you ever ran a “netstat -na” to get a list of open ports only to wonder what was listening on udp port 800?

# netstat -lp

netstat -lp is your friend – it will give you a list of the open ports and the pid that opened them.