What does NTSTATUS 0xC0000236 (STATUS_CONNECTION_REFUSED) mean?

 
Previous Next
STATUS_HANDLE_NOT_CLOSABLE STATUS_GRACEFUL_DISCONNECT

STATUS_CONNECTION_REFUSED

The remote endpoint actively refused the connection

These statuses describe transport endpoint and connection state. For STATUS_CONNECTION_REFUSED, they can appear below higher-level file sharing, DFS, redirector, RPC, or networking code before the error is translated to Win32 or Winsock form.

The route may be valid, but the destination rejected the connection. Common causes include no listener, listener backlog exhaustion, policy refusal, or service not started.

For STATUS_CONNECTION_REFUSED, for diagnostics, capture the endpoint address, address family, connection object, local and remote close/reset events, timeout, route, ICMP condition when available, and the higher-level component that issued the transport request.

What to inspect

  • Check whether the destination service is listening.
  • Verify port, address, firewall, and service state.
  • Do not troubleshoot credentials until the transport listener is confirmed.

References for STATUS_CONNECTION_REFUSED


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