Centos7系统查看某个端口被哪个进程占用

1.安装netstat工具
yum install net-tools
2.查看服务器所有被占用的端口
netstat -ant
3.验证某个端口是否被占用
netstat -tunlp|grep 15692
4.查看所有监听端口号
netstat -lntp

猜你喜欢

转载自www.cnblogs.com/elfin/p/12923669.html