假如占用的端口是80:

先打开cmd命令窗口

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

windows系统查询指定端口运行的进程并关闭

 

根据PID号找到对应的进程:tasklist|findstr "3976"   

windows系统查询指定端口运行的进程并关闭

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

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2021-04-16
  • 2021-09-06
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
  • 2021-10-19
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案