| Previous | Next |
| HNS_INVALID_REMOTE_ENDPOINT_OPERATION | HNS_LAYER_ALREADY_EXISTS |
HNS_NETWORK_ALREADY_EXISTS
HNS_NETWORK_ALREADY_EXISTS is an HRESULT used by Windows Host Networking Service (HNS). It indicates that network creation collided with an existing HNS network rather than creating a new one.
What to check
- List existing HNS networks and compare both name and identifier before creating another network.
- Treat create operations as idempotent only after verifying that the existing network has the intended configuration.
- Remove stale networks deliberately; do not delete a network that may still have active endpoints.
Microsoft documentation on Windows container networking and HNS
Looking for a different code? Search another status or error code.