netstat -ano #查看所有正在使用的端口,注意stat没有enetstat -ano | findstr 8080 #查看指定的端口,端口号引不引都行
找到pid,打开任务管理器,结束该pid对应的进程。