netstat -ntpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 16121/mysqld tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1810/rpcbind tcp 0 0 192.168.2.151:53 0.0.0.0:* LISTEN 2460/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2460/named tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2331/cupsd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2460/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2144/sendmail: acce tcp 0 0 :::22 :::* LISTEN 2123/sshd