windows+r 输入cmd进入命令行窗口 查看所有的端口占用情况 输入 netstat -ano 查看指定端口的占用情况 以9002为例 netstat -aon|findstr "9002" 杀掉端口 tasklist|findstr "4748"