以下命令可查看50006端口被那个pid占用 netstat -ano|findstr 50006 以下命令可结束占用50006端口的线程,其中的4708换为上面命令查询到的pid即可 taskkill /pid 4708 /f