1. 输入:netstat -aon (或者 netstat -aon !findstr "8080")
找到8080端口对应进程的pid :xxx;
2.输入: taskkill /pid xxxx
显示:成功:给进程发送了终止信号,进程的PID为xxxx.