1、lsof -i:端口号。
2、netstat -tunlp|grep 端口号。
都可以查看指定端口被哪个进程占用的情况。
本文链接:https://www.miaodongka.com/smkp/1dw46.html