先用 netstat -nao | find "要查询的端口号" 得到使用该端口的程序对应的PID 再用 tasklist /svc | find "PID" 查找相应的程序…… 转载于:https://blog.51cto.com/skypeng/267684