netstat的下载安装 yum -y install net-tools
netstat -a
查看所有端口
netstat -tunlp
查看端口占用情况
netstat -tunlp | grep 端口号
查看某端口占用情况