端口相关命令
2017-08-12 本文已影响12人
小城大麦
netstat命令
查看端口情况
netstat -ant | grep 8080
lsof命令
lsof -i:80
查看所有进程监听的端口
lsof -i -P | grep -i "listen"
netstat命令
查看端口情况
netstat -ant | grep 8080
lsof命令
lsof -i:80
查看所有进程监听的端口
lsof -i -P | grep -i "listen"