[root@lionking asterisk]# netstat -plant Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 993/rpc.statd tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 1121/xinetd tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1260/mysqld tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 974/portmap tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1107/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1184/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1145/sendmail: acce tcp 0 620 196.22.219.218:22 165.146.101.230:1070 ESTABLISHED 1324/sshd