我就是奇迹

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

How to kill the process currently using a port on localhost in windows

netstat -ano | findstr :yourPortNumber

 

taskkill /PID typeyourPIDhere /F

 

netstat -ano | find 9090

 

参考地址:https://javagyanmantra.wixsite.com/website/single-post/2019/07/13/how-to-kill-the-process-currently-using-a-port-on-localhost-in-windows

posted on 2021-06-15 15:13  我就是奇迹  阅读(51)  评论(0)    收藏  举报