netstat -paut
[root@OA-JRY-SY-FDEP1 nginx-1.9.2]# netstat -paut Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:81 *:* LISTEN 16035/nginx tcp 0 0 *:ssh *:* LISTEN 5519/sshd tcp 0 0 192.168.72.245:81 192.168.72.10:14710 ESTABLISHED 16036/nginx tcp 0 0 192.168.72.245:ssh 192.168.72.10:spock ESTABLISHED 2239/sshd tcp 0 0 192.168.72.245:81 192.168.72.10:14711 ESTABLISHED 16036/nginx tcp 0 0 192.168.72.245:ssh 192.168.72.10:sdo-tls ESTABLISHED 2266/sshd tcp 0 0 192.168.72.245:81 192.168.72.10:14656 TIME_WAIT - tcp 0 0 *:ssh *:* LISTEN 5519/sshd [root@OA-JRY-SY-FDEP1 nginx-1.9.2]#