1、查看特定端口被占用情况

运行CMD,执行如下命令:

  • netstat -ano:查看电脑端口被占用情况。

windows关闭被占用的端口

  • netstat -ano | findstr [port]:查看特定端口被占用情况。

windows关闭被占用的端口

2、关闭被占用端口的进程

  • taskkill /pid [PID进程号] /f :关闭特定端口。

 

相关文章:

  • 2021-05-05
  • 2021-11-20
  • 2021-09-21
  • 2021-06-28
  • 2021-12-16
  • 2021-12-19
  • 2022-12-23
  • 2021-10-11
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2021-12-07
  • 2021-12-16
  • 2021-05-20
  • 2021-07-24
相关资源
相似解决方案