windows查看所有端口状态:

netstat -ano
协议类型,ip地址+端口号,发送到外部的地址,状态,PID即进程号。
windows查看某个端口状态,以及占用的程序筛选出来我们想要的端口:如443
netstat -ano|findstr “443”
windows查看某个端口状态,以及占用的程序找到对应的PID,如第一行对应的8776,进程号为8776,表示这个进程正在占用这个端口。

找到占用的程序:
tasklist即列举所有正在运行的进程,|后面跟筛选条件。
tasklist|findstr “8776”
windows查看某个端口状态,以及占用的程序
结果如图,占用程序是我的vmware。

相关文章:

  • 2021-05-14
  • 2021-08-08
  • 2022-12-23
  • 2021-09-07
  • 2021-12-01
  • 2021-11-14
  • 2022-01-21
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2022-01-11
  • 2022-01-01
  • 2022-01-04
  • 2022-01-13
  • 2021-12-04
  • 2021-12-15
相关资源
相似解决方案