yang-xiansen

以端口8080为例:

1.查找对应的端口占用的进程:netstat  -aon|findstr  "8080"    ,找到占用8080端口对应的程序的PID号:

2.根据PID号找到对应的程序:tasklist|findstr "PID号"    ,找到对应的程序名

3.结束该进程:taskkill /f /t /im 程序名

 

参考:1. http://jingyan.baidu.com/article/72ee561ab81a2ae16138dfcc.html

2.http://jingyan.baidu.com/article/3c48dd34491d47e10be358b8.html

分类:

技术点:

相关文章:

  • 2021-11-18
  • 2021-09-25
  • 2021-11-05
  • 2021-11-01
  • 2021-12-31
  • 2021-12-14
  • 2021-11-20
猜你喜欢
  • 2021-11-30
  • 2021-11-30
  • 2021-12-14
  • 2021-08-06
  • 2021-12-14
  • 2021-09-06
  • 2021-12-12
相关资源
相似解决方案