查看端口对应的pid,图中最后一列 netstat -ano | findstr 8080 杀死进程pid taskkill /f /pid 15604 这里8080是java进程,通过任务管理器也是一样