microsoft/PowerToys

network port usage app

Open

#23,993 创建于 2023年2月8日

在 GitHub 查看
 (2 评论) (25 反应) (0 负责人)C# (7,978 fork)batch import
Help WantedIdea-New PowerToy

仓库指标

Star
 (133,154 star)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 PR)

描述

Description of the new feature / enhancement

A new PowerToy to see which programs are using each network port. Equivalent to File Locksmith but for networking.

It should show the following items for each open socket:

  • Program name
  • Program path
  • Process ID
  • Process owner
  • Protocol (UDP/TCP)
  • Port Number
  • Status (Listening, Established, ...)
  • Attached interface (127.0.0.1, ...)

Scenario when this would be used?

  • When programming, it is common to have some process already using a TCP/UDP port and blocking its usage.
  • When checking which port an undocumented program is using (reverse engineering, debugging)

Supporting information

This is already possible via cmd and PowerShell. Requires privileges.

https://stackoverflow.com/questions/48198/how-do-i-find-out-which-process-is-listening-on-a-tcp-or-udp-port-on-windows

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            notebook:0          LISTENING
  RpcSs
 [svchost.exe]
  TCP    0.0.0.0:445            notebook:0          LISTENING
 Can not obtain ownership information
  TCP    0.0.0.0:1042           notebook:0          LISTENING
 [asus_framework.exe]
  TCP    0.0.0.0:1043           notebook:0          LISTENING
 [asus_framework.exe]
  TCP    0.0.0.0:2179           notebook:0          LISTENING

贡献者指南