What does HRESULT 0xC03B0007 (HNS_PORT_NOT_FOUND) mean?

 
Previous Next
HNS_ADAPTER_NOT_FOUND HNS_POLICY_NOT_FOUND

HNS_PORT_NOT_FOUND

HNS_PORT_NOT_FOUND is an HRESULT used by Windows Host Networking Service (HNS). It indicates that the expected vSwitch port is missing, usually because its endpoint or switch changed.

What to check for HNS_PORT_NOT_FOUND

  • Verify that the endpoint is still attached to the expected virtual switch.
  • Inspect vSwitch and HNS endpoint state before applying port-specific settings or policies.
  • Avoid retaining port identifiers after the endpoint or host network has been recreated.

Microsoft documentation on Windows container networking and HNS

Diagnostic discriminator: Enumerate the target virtual switch ports using the identifier from the failing request. This result means the expected port cannot be resolved on that switch.


Looking for a different code? Search another status or error code.