1.查看占用端口的进程PID netstat -aon|findstr 5037 2.通过进程PID查看进程 tasklist /fi "PID eq 3676" 3.杀死占用端口的进程 taskkill /pid 3676 /f