1.WIN+R调用cmd命令 2.输入:netstat -ano|findstr 8005命令 3.如上图所示 20976占用了8005端口,我们输入 taskkill /pid 20976 /f 命令,终止pid为20976的进程