打开cmd执行命令: netstat -ano|findstr 6106 6106 即为要查询的占用端口,执行完截图如下 执行命令: taskkill /pid 33428 -f 33428 为占用端口进程的 PID, 执行完截图如下