0

Hello everyone.

I am trying to ping a local connected computer (PC 2).

Both PCs are WIN 10 and are connected to the router; PC 1 is connected via Wireless and PC 2 is connected via Ethernet.

When I try to ping (PC 1 > PC 2), it throws TIMED OUT ('Tiempo de espera agotado.'), same with tracert.

When I check the router in the browser, both devices are connected successfully. I tried several things and I can contact the device in many ways, for example: contact it via local servers in both directions, detection with applications like arp-scan, list it in arp -a and many more, but NOT ping.

I think this is really weird and I don't know how to fix it, and an application needs it to check that the device is reachable and its host is UP.

wido
  • 47

1 Answers1

0

It's probably that ingoing ICMP packets are blocked by the Windows firewall or ICMP is blocked by the router.

To create a firewall rule that allows it, run this in "Command Prompt" cmd.exe

netsh advfirewall firewall add rule name="Ping" protocol=ICMPV4 dir=in action=allow

or this in Powershell

New-NetFirewallRule -Name "Ping" -Protocol ICMPv4 -Direction Inbound -Action Allow

Source

There are many variants of these instructions online, like this on Microsoft Learn. Search for Windows Firewall allow ping or alike to get an impression.

cachius
  • 859