Windows 11 build 26300.9818: working loopback listener omitted from TCP listener queries

LoopbackObserver 0 Reputation points
2026-11-07T01:10:14.4766667+00:00

I am seeking help with inconsistent TCP listener reporting observed on Windows 11, version 26H2, OS build 26300.9818, using 64-bit Windows PowerShell 5.1. The observations below were retained from a standalone test on 6 November 2026.

The test created an exclusive IPv4 loopback TcpListener on an OS-assigned port. A local TcpClient connection completed successfully. The listener remained open throughout collection, and its process identity remained unchanged.

The owned socket's Socket.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.AcceptConnection) returned true immediately before and after the following observations:

  • Get-NetTCPConnection -LocalPort <known port> returned two rows matching the known endpoint and the test's owning process.
  • One row had adapted State Established and underlying CIM State byte 5.
  • The other had adapted State null and underlying CIM State byte 0. The underlying property was present, non-null and read successfully through explicit CLR getters; zero was not produced by null conversion.
  • Filtering those rows for Listen returned no match. Get-NetTCPConnection -State Listen also returned no matching endpoint before applying the owning-process filter.
  • .NET IPGlobalProperties.GetActiveTcpListeners() completed but returned no matching endpoint.

These queries reported no collection failure. Cleanup closed the client and stopped the listener successfully.

Limits of the evidence

These were sequential observations, not a continuous trace. The control tested IPv4 only. It did not directly invoke GetTcpTable, GetTcpTable2 or GetExtendedTcpTable, and it does not identify the faulty component or establish that a particular Windows update caused the discrepancy. I am not treating undocumented State 0 as equivalent to Listen.

The practical requirement is a reliable, process-associated listener inventory across applicable IPv4/IPv6 families, including detection of any non-loopback listener. A successful connection alone cannot establish that this inventory is complete.

Could someone clarify:

  1. Is this missing-listener/raw-State-0 behavior recognized, with a documented supported resolution?
  2. What narrowly scoped diagnostic would distinguish a Windows reporting problem from another local cause?
  3. Is there a supported way to obtain the required complete listener inventory when these queries disagree with the owned socket's listening flag?

I found related firsthand reports, which appear relevant but do not establish a Microsoft-confirmed cause for my machine:

Windows for business | Windows Client for IT Pros | Networking | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.