Site icon EfmSoft

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

These statuses come from the native NT port message path used by low-level Windows IPC. For STATUS_PORT_CONNECTION_REFUSED, they are about port object attributes, connection handles, and message size constraints, not about TCP ports.

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.

For STATUS_PORT_CONNECTION_REFUSED, when debugging this class of status, keep the native API that failed, the port handle type, the connection state, the object attributes used to create or connect the port, and the message length that was sent.

What to inspect

References for STATUS_PORT_CONNECTION_REFUSED


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

Exit mobile version