方法一 netstat -aon|findstr "8080" taskkill /f /pid 4040 方法二 1.查看端口号和pid netstat -ano 2.根据pid查询进程 tasklist | findstr "4048" 3.杀死进程 taskkill /f /t /im Tomcat7.exe