通过进程PID找到其占用的端口 badman250 2022-02-25 119 阅读1分钟 查看到进程id之后,使用netstat命令查看其占用的端口: $ netstat -nap | grep pid