cmd命令结束占用tomcat的进程

1. 输入:netstat -aon (或者 netstat -aon !findstr "8080")

    找到8080端口对应进程的pid :xxx;

2.输入: taskkill  /pid xxxx

显示:成功:给进程发送了终止信号,进程的PID为xxxx.

原文地址:https://www.cnblogs.com/summer323/p/4952323.html