1.找到端口冲突的进程 此处以8080为例,得到的进程号为:17016 netstat -ano|findstr "8080" 2.强行终止端口对应的进程 taskkill /f /pid 17016 /t 再次查看端口,发现已经没有再被占用了 进程为空