1. 开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID
2.netstat -aon|findstr "9050"查看占用端口9050的进程号
或者netstat -apn|grep "80"(linux)
3.tasklist|findstr "2016"查看进程号为2016的进程
或者ps -aux | grep "2016"(linux)
2.netstat -aon|findstr "9050"查看占用端口9050的进程号
或者netstat -apn|grep "80"(linux)
3.tasklist|findstr "2016"查看进程号为2016的进程
或者ps -aux | grep "2016"(linux)