1.win+r打开cmd,并运行
netstat -ano | findstr :8080(查看占用8080端口的进程)
2.你会看到类似的输出
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 12345
其中12345是进程ID
3.运行以下命令杀掉该进程
taskkill /F /PID 12345
1.win+r打开cmd,并运行
netstat -ano | findstr :8080(查看占用8080端口的进程)
2.你会看到类似的输出
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 12345
其中12345是进程ID
3.运行以下命令杀掉该进程
taskkill /F /PID 12345