marcello@daemon:~$ netstat -l -t -n -p (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 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:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:39600 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 21523/python tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 1089/firefox tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN - tcp6 0 0 :::111 :::* LISTEN - tcp6 0 0 :::80 :::* LISTEN - tcp6 0 0 :::58320 :::* LISTEN - tcp6 0 0 ::1:8118 :::* LISTEN - tcp6 0 0 ::1:5432 :::* LISTEN - tcp6 0 0 :::25 :::* LISTEN - marcello@daemon:~$ kill 21523 marcello@daemon:~$ netstat -l -t -n -p (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 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:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:39600 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 1089/firefox tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN - tcp6 0 0 :::111 :::* LISTEN - tcp6 0 0 :::80 :::* LISTEN - tcp6 0 0 :::58320 :::* LISTEN - tcp6 0 0 ::1:8118 :::* LISTEN - tcp6 0 0 ::1:5432 :::* LISTEN - tcp6 0 0 :::25 :::* LISTEN - marcello@daemon:~$