1. 打开cmd窗口(最好以管理员身份) 2. 查找端口号对应得进程ID netstat -ano | findstr "端口号" 3. 终止指定端口号的进程ID taskkill /pid 3508 -f 4. 其他命令 查找所有运行的端口 netstat -ano