查看linux中某个端口(port)是否被占用
1.使用lsof
lsof -i:端口号查看某个端口是否被占用

2.使用netstat
使用netstat -anp|grep 80
本文名称:查看linux中某个端口(port)是否被占用
分享地址:http://myzitong.com/article/gjpiid.html
lsof -i:端口号查看某个端口是否被占用
2.使用netstat
使用netstat -anp|grep 80
本文名称:查看linux中某个端口(port)是否被占用
分享地址:http://myzitong.com/article/gjpiid.html