1、以管理员运行--》cmd
2、查看占用端口的进程
netstat -ano | findstr 9001
TCP 0.0.0.0:9001 0.0.0.0:0 LISTENING 13452
TCP [::]:9001 [::]:0 LISTENING 13452
3、杀死进程
taskkill /pid 13452 /f
2021-11-01 04:07:59
1、以管理员运行--》cmd
2、查看占用端口的进程
netstat -ano | findstr 9001
TCP 0.0.0.0:9001 0.0.0.0:0 LISTENING 13452
TCP [::]:9001 [::]:0 LISTENING 13452
3、杀死进程
taskkill /pid 13452 /f