Traceroute: !P (Incompatible protocol)

How to fix !P (Incompatible protocol) error in traceroute

The !P respons means that the protocol is unreachable. This is usually due to security reasons.

Disable the firewall

On Windows systems

Disable the firewall on your Windows system:

  1. Search for firewall.
  2. Open the Windows Defender Firewall.
  3. Click Turn Windows Defender Firewalloff.
  4. Select Turn off Windows Defender Firewallfor private and public network.
  5. Click OKto save changes.

Windows disable firewall

Restart your router

You can try to restart your network router.

Edit the hosts file

On Windows system

  1. Click on File Explorer.
  2. Enter C:\Windows\System32\drivers\etc in the search bar.
  3. Right click on hostsand open it with a text editor.
  4. Delete any entries that shouldn't be there.

Windows edit etc hosts file