Linux查看本机端口
查看指定的端口#lsof-i:port查看所有端口#netstat-aptn运维
查看指定的端口
# lsof -i:port
查看所有端口
# netstat -aptn
安装telnet
#yum install -y telnet.x86_64
#telnet ip 端口