查看端口占用

Posted on 2018-11-06 10:26  毋丢丢  阅读(107)  评论(0)    收藏  举报

 

1、lsof -i:端口号

2、netstat -tunlp|grep 端口号

都可以查看指定端口被哪个进程占用的情况