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
标签:java,LISTENING,13452,端口,idea,TCP,9001,0.0
来源: https://www.cnblogs.com/CodeWang666/p/14865233.html