Linux查看端口占用景况

Linux查看端口占用情况1.netstatnetstat -aon| grep 8080?2.psps -ef |grep 8080?3.lsoflsof -i:8080?lsof

Linux查看端口占用情况

1.netstat

netstat -aon| grep 8080

?2.ps

ps -ef |grep 8080

?3.lsof

lsof -i:8080

?lsof是一个工具需要单独安装