什么是绑定这个端口?

wen*_*wen 11 windows windows-7 port

有些东西在我的 80 端口上提供内容,但我不知道是什么进程在做这个。有没有办法找出哪个进程绑定到哪个端口?

更新: 这是...的输出netstat……遗憾的是,似乎没有绑定端口 80。虽然我的端口 80 仍在提供信息。这是不可能的,还是我错过了什么?(见下文)

更新:netstat -anbo任务管理器中运行并交叉引用进程后,我发现它skypekit.exe绑定了我的端口 80。但是,对这个问题的任何进一步探索都可能超出了这个问题的范围。补充一点,Trillian 使用端口 80 和 443 来处理skypekit.exe它的流量。

PS D:\> netstat -anbo

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       6664
 [skypekit.exe]
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1280
  RpcSs
 [svchost.exe]
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       6664
 [skypekit.exe]
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
 Can not obtain ownership information
  TCP    0.0.0.0:1025           0.0.0.0:0              LISTENING       916
 [wininit.exe]
  TCP    0.0.0.0:1026           0.0.0.0:0              LISTENING       1480
  eventlog
 [svchost.exe]
  TCP    0.0.0.0:1027           0.0.0.0:0              LISTENING       1568
  Schedule
 [svchost.exe]
  TCP    0.0.0.0:1028           0.0.0.0:0              LISTENING       980
 [lsass.exe]
  TCP    0.0.0.0:1029           0.0.0.0:0              LISTENING       568
 [spoolsv.exe]
  TCP    0.0.0.0:1030           0.0.0.0:0              LISTENING       956
 [services.exe]
  TCP    0.0.0.0:2987           0.0.0.0:0              LISTENING       308
Run Code Online (Sandbox Code Playgroud)

Red*_*ick 16

尝试 netstat -anb

C:\> netstat -anb

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       1724
  [Apache.exe]
Run Code Online (Sandbox Code Playgroud)

更新:a in-anb是有原因的!

C:\> netstat /?

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

  -a            Displays all connections and listening ports.
                                         ^^^^^^^^^^^^^^^^^^^^
                                         ||||||||||||||||||||
Run Code Online (Sandbox Code Playgroud)