Capture demo.pcap 17.53 Mbytes · 2022-05-05 · 17 minutes, 43 seconds

Client Port Unreachable

warning

Possible Reasons

  • The Client Application Closed Before Receiving the Response.
  • The Response Arrived Too Late (Timeout Expired).
  • Duplicate or Unexpected Responses.

The ICMP "Port Unreachable" message is an ICMP Type 3, Code 3 error message sent when a destination UDP port is not open or does not have an active service listening.

This message is generated by a host when it receives a UDP packet but there is no application bound to the specified port.

  • ICMP Type: 3 (Destination Unreachable)
  • ICMP Code: 3 (Port Unreachable)
  • Common Cause: No service is listening on the specified UDP port
  • Protocol Affected: UDP (since TCP handles this differently)
Comparison with other tests

Loading...

Loading...

Troubleshoot "Client Port Unreachable"

For a more customized troubleshooting experience, go pro.

The Client Application Closed Before Receiving the Response.

The client application sent a UDP request but closed or crashed before the server's response arrived. When the response reaches the client, the OS no longer has an open socket on the expected port, so it sends ICMP Type 3 Code 3 back to the server.

Check if the application is still running when the response arrives.

The Response Arrived Too Late (Timeout Expired).

Some applications implement timeouts, and if the server response takes too long, the client may have already closed the UDP socket. The OS no longer has a listening socket when the late response arrives, triggering an ICMP Type 3 Code 3.
For example: A DNS client expecting a response within 2 seconds but receiving a delayed reply after 5 seconds.

Increase timeout settings or troubleshoot server-side delays.

Duplicate or Unexpected Responses.

If the server sends multiple responses, but the client already processed the first one and closed the port, later responses will hit a closed port. The client OS sends ICMP "Port Unreachable" in response to duplicate packets.

Check for server-side retransmissions and correct protocol behavior.