netstat -ano
netstat -aon|findstr "8080" #例如8080
通过查看端口列表定位该端口对应的PID,打开任务管理器中详细信息列表定位列表中对应的PID把该任务结束。