举例 1000被占用 先cmd,查看端口情况 输入指令 netstat -ano | findstr 10000 发现占用端口进程后,终止即可 输入指令 taskkill -pid 9692 -f 强调 pid就是 当前进程标识符 9682 -f 就是强制停止该进程