#命令一:查看端口号 netstat -ano #命令二:查找占用端口号的进程 netstat -ano|findstr "1000" #命令三:杀死进程,解放端口 taskkill /pid 1000 -t -f