| Previous | Next |
| HNS_POLICY_ALREADY_EXISTS | HNS_ENDPOINT_ALREADY_ATTACHED |
HNS_PORT_ALREADY_EXISTS
HNS_PORT_ALREADY_EXISTS is an HRESULT used by Windows Host Networking Service (HNS). It indicates that HNS attempted to create a port that is already associated with the target switch.
What to check for HNS_PORT_ALREADY_EXISTS
- Verify whether the endpoint is already attached to the expected virtual switch.
- Check for a previous incomplete create operation before creating another port.
- Use the existing port only after confirming that it belongs to the intended endpoint.
for it, Microsoft documentation on Windows container networking and HNS
Diagnostic interpretation
This result has the HRESULT value 0xC03B0013. AllStat records the condition as “The specified port already exists.”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the hns / port / already / exists operation.
- Preserve the first failure in the call chain; a later HRESULT can describe cleanup rather than the original hns / port / already / exists condition.
Retry and recovery
” has changed.
Looking for a different code? Search another status or error code.