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 2224/mysqld tcp 0 0 0.0.0.0:6543 0.0.0.0:* LISTEN 4638/mythbackend tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1920/rpcbind tcp 0 0 0.0.0.0:6544 0.0.0.0:* LISTEN 4638/mythbackend tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2490/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2281/sendmail: acce tcp 0 0 :::80 :::* LISTEN 2309/httpd tcp 0 0 :::22 :::* LISTEN 2123/sshd tcp 0 0 :::631 :::* LISTEN 2490/cupsd tcp 0 0 :::23 :::* LISTEN 2123/sshd tcp 0 0 :::443 :::* LISTEN 2309/httpd