netstat -ano|findstr 8080 //找到被占用的端口 taskkill /pid 2252 /f //终止该进程,2252为查找出来的该PID地址 转载于:https://www.cnblogs.com/cmslby/p/5902487.html