What does NTSTATUS 0xC0000041 (STATUS_PORT_CONNECTION_REFUSED) mean?

 
Previous Next
STATUS_SECTION_TOO_BIG STATUS_INVALID_PORT_HANDLE

STATUS_PORT_CONNECTION_REFUSED

The target port rejected NtConnectPort

The peer refused a native port connection request. Inspect the server port, connection message, and acceptance logic; TCP listener state is unrelated to this NT port result.

This indicates a refusal at the NT port connection boundary. The target port object was reached, but the server side rejected or could not accept the connection request.

What to inspect

  • Check whether the server port is accepting clients.
  • Verify security descriptor and connection data expected by the port server.
  • Separate this from transport-level STATUS_CONNECTION_REFUSED.

References for STATUS_PORT_CONNECTION_REFUSED


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