[root@lxx123 ~]# netstat -lntp
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:22 0.0.0.0:* LISTEN 415/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 452/sendmail: accep
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 408/httpd
tcp6 0 0 :::22 :::* LISTEN 415/sshd
tcp6 0 0 :::8888 :::* LISTEN 659/appnode-ccenter
tcp6 0 0 :::7000 :::* LISTEN 411/frps
只能使用22的ssh