查看端口占用 netstat -aon|findstr “10000” 运行结果: TCP 127.0.0.1:10000 0.0.0.0:0 LISTENING 6780 杀掉它 taskkill /f /pid 6780 成功: 已终止 PID 为 6780 的进程。