Skip to main content

Destination Port Unreachable Error Message

Team CoreNetworkZ explained various ICMP error messages in this blog. Today we are explaining one of the common ICMP error replies when you ping a remote device from your computer, Destination Port Unreachable message. You can see this error while you ping a remote device or remote server from your PC if the ping operation could not succeed. This tutorial discusses the reasons for getting the ICMP error Destination Unreachable (Port Unreachable) and explain how to resolve this issue.


What Does Destination Unreachable (Port Unreachable) Mean?
The Destination Port Unreachable error tells that the ping packet we send failed to reach the desired destination and dropped.

Let me explain this with a real-world example. When someone pings a remote host, the ping packets will travel from his device to the destination.

Ping packets will reach the destination gateway, and the remote router redirects them to the exact host.

If the host is too busy or the device port does not support the type of packets we send, it will result in the reply the Destination Port Unreachable.

It tells us the problem lies with the host, and the network route up to the remote host is working fine.

So, this reply is from the host (not from the remote gateway) and different from the following ICMP replies.

  1. Destination Net Unreachable
  2. Destination Host Unreachable

This reply is independent of the Operating System platform. Both the Windows and Linux PCs display this ICMP reply.

Now let us check what causes this problem.


Reasons for Getting Destination Port Unreachable Error
Which are the reasons to receive Destination Port Unreachable reply for your Ping packets?
  1. Unaccepted Protocol Type-
    One of the main reasons to receive Port Unreachable error is sending packets to a remote host without the required protocol to be accepted by the active port of the remote host.

  2. Remote Port is Busy-
    If the port is busy while the ping packets reach, chances of getting a rejection are very high. It may also result in displaying the ICMP reply from the remote host on the sender with the message Destination Unreachable (Port Unreachable).

  3. Possible Ban on Sender IP Address
    Another reason is the possible ban on the sender IP address configured at the remote host. Remote Port will reject packets send from a banned address.

  4. Remote Router Firewall Settings Changes Packets Encapsulation
    One of the rarest reasons to show Port Unreachable reply. Still, some users reported the solution to disable the remote router firewall.

  5. Remote Port Might be Damaged
    If the remote port is damaged, you may receive a Destination Port Unreachable reply on your computer.


How to Fix Destination Port Unreachable Error?
Troubleshooting the ICMP Port Unreachable error is a bit difficult because the issue lies with the remote device.

In most cases, this error reply is generated by the remote port due to protocol mismatch or security issues.

If you see the ICMP reply Destination Unreachable (Port Unreachable) when you ping an address, follow the steps provided below.

  1. Ping a Different Address
    Try to ping a different IP address or web URL.

    For example, if you receive the ICMP reply Port Unreacbale when you ping https:www.corenetworkz.com, try to ping https://www.google.com.

    If you get packet received messages from the destination, you can verify the source of the problem.


  2. Ping the Address From a Different IP address
    To check whether the remote device banned your IP address, you need to send ping packets from a different network address.


  3. Disable the Proxy and VPN Services on your Device
    Next troubleshooting step is to make sure you are not using Proxy and VPN services on your device.


  4. Check for Protocol Mismatch
    ICMP requests do not use a port number, but both TCP and UDP packets use port number.

    Theoretically, Port Unreachable message comes with UDP and TCP connection failure.

    Destination Port unreachable reply should not from ICMP echo requests.


Other Important ICMP Replies
  1. PING: Transmit failed. General Failure
  2. Ping Request Could Not Find Host. Please Check the Name and Try again
  3. Ping - Request Timed Out
  4. Ping - Hardware Error

  1. Error 769: The Specified Destination is not Reachable
  2. Error 628: The Connection was Terminated by the Remote computer
  3. How to Change the Default TTL Value Set On Ping Packets?
  4. How to Fix 169.254.X.X (APIPA) Windows Automatic Private IP Address?

Comments

Unknown said…
Wonderful guide. Thanks you helped me.
Alex George said…
I am glad to know this guide helped you.
Unknown said…
I faced this port unreachable error on my company. I spent a lot of time to solve it. It was the problem with the Network Interface Card on the Linux system in the second network. Finally figured it out.

Thanks for this post.
Alex George said…
Thank you for sharing your experience.
Unknown said…
Doesn't a system restore fix this error?
Alex George said…
@ Unknown

The chances are very very rare.