Centos7查看端口占用情况 2019-03-19 本文已影响0人 猿二胖 1、查看服务器所有被占用端口 $ netstat -ant 2、验证某个端口号是否被占用 $ netstat -tunlp | grep 端口号 3、查看所有监听端口号 $ netstat -lntp