查看当前所有端口的占用情况 netstat -ano 查看某一端口的占用情况 netstat -ano|findstr 端口号 7140即为PID 在任务管理器中查看 查看进程号(PID)对应的进程名称 taskilist | findstr PID