查看端口被哪个进程占用了 win cmd netstat -aon|findstr 8005 TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 7648 7648就是占用的进程PID,在任务管理器找到他。