通过进程PID找到其占用的端口

119 阅读1分钟

查看到进程id之后,使用netstat命令查看其占用的端口: 
$ netstat -nap | grep pid