1、根据需求查出固定端口号 netstat -ano|findstr 8080 2、查出任务列表 tasklist|findstr 3184 3、终止进程 taskkill -f -t -im Tomcat7.exe