查找所有运行的端口 netstat -ano 查看被占用端口对应的 PID netstat -aon|findstr "8080" 查看指定 PID 的进程 tasklist|findstr "14548" 结束进程 taskkill /T /F /PID 14548