Ping — Request timed out on a local network
I’m trying to ping another computer that is connected to the same Wi-Fi network. Pinging to anything else (localhost, website, etc.) works fine. But when I try to ping to the local ip address of my second computer I get a Request timed out. message
$ ping target_ip Pinging target_ip with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for target_ip: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
7 Answers 7
- Try to ping another device from your local network (pinging localhost or a website is not the same).
- Try to ping from target_ip to source_ip (opposite direction).
If you have response in any of 2 cases above, check the firewall on your target machine (or as in your case, for Windows, make sure you are connected to Private Network, not Public). And make sure you are trying to ping the proper IP address.
@AlexT Why #2 (pinging source_ip from target_ip) won’t work? If it doesn’t, then it’s either firewall on both source_ip and target_ip, or you don’t have connectivity between hosts (layer 5 or lower).
If you are unable to ping a computer on your network, the reason could be that the firewall on that computer is blocking incoming ICMP (Internet Control Message Protocol) traffic. In this case, you can try enabling the «File and Printer Sharing (Echo Request — ICMPv4-In)» inbound rule in Windows Defender Firewall to allow ping requests.
Note that enabling this rule may make your computer more vulnerable to certain types of attacks, so you should only do so if you trust the computers on your network and are comfortable with the increased risk. Additionally, if you are using a third-party firewall, the steps may be different, so you should consult the documentation for that firewall for guidance.
Here are the step-by-step instructions:
- Open Windows Defender Firewall with Advanced Security on the computer that you are not able to ping. You can do this by searching for «Windows Defender Firewall» in the Start menu and clicking on the corresponding result.
- In the left pane, click on Inbound Rules.
- Scroll down until you find the File and Printer Sharing (Echo Request — ICMPv4-In) rule. This rule is used to allow incoming ICMP traffic, which is what ping uses.
- Right-click on the rule and select Enable Rule.
That’s it! Close the window and try pinging the computer again. It should now work as expected.
I had the same issue, in my case the problem was- I was not able to ping any website like www.google.com or any other external IP address. But I was able to ping my own ipv4 address. If you are not able to ping your own ipv4 address then follow this(https://support.logmeininc.com/central/help/why-do-i-get-request-timed-out-when-trying-to-ping-a-computer). And if you are not able to ping external IP address then there are 2 cases,
- You are connected with the ethernet OR ISP connection. Then Ping will work fine.
- You are using the mobile hotspot, then try changing the bandwidth to 5GHZ from the mobile phone and connect again. It worked for me I hope it will work for you as well.
TLDR: Turn off all defenders
I had the same issue and very similar answers above helped but I do want to add something in that I didn’t see.
My set up was to try to ping an Oracle linux virtual machine running on windows from my MacBook
When I went to turn off Microsoft Defender Firewall, it was already off because I had a third party firewall turned on. Make sure you turn off third party firewalls on your host machine; in my case it was Kaspersky. Once this is turned off, Microsoft Defender Firewall will turn on. Make sure to turn this off.
After this, it had worked for me but some other advice that I found helpful was to make sure all firewalls were off on MacOS and to reset your router.
TLDR: Restart the destination device. If fails restart the router too.
Request Timed Out message tells your computer waited for the acknowledgment of the ping packets sent to the destination IP for a time but received none.
Common causes for this error are either network configuration errors or firewall blocking.
Since you can ping other addresses from your computer successfully, your local computer network configuration is fine.
You can ping the localhost IP (Loopback address) successfully. It means the firewall settings on your computer are fine.
So, as Andriy Zavoloka mentioned, I too doubt the Firewall settings on the destination computer. Disable the firewall on the destination computer and try to ping it again from the first device.
Even though you have mentioned you know the destination IP address is correct, I suggest you use the network discovery feature and verify if the DHCP server of your WiFi network didn’t assign a different IP address to the second computer.
Sometimes a simple reboot on the second computer can fix the problem.
If the issue persists, I suggest you power off the WiFi router (I assume you have the access) and switch it on after one minute. It will reset the routing table cache on the WiFi router.
Then check for the new IP address assigned to the second computer and Ping that address from your first computer.
I hope it will fix the problem.
Randomly getting ‘Request timed out’ when pinging wireless router
The above is an option. You may get the best performance yet out of the router.
If you do not feel comfortable doing the above do some research.
You could also try this on the router as is.
Just login to the router should be 192.168.0.1 as you stated.
Find the page that has QOS settings and Disable WMM Support then save.
Disabled WMM and even though the problem is still there, it feels smoother now. I’m surprised that the issue seems to be with the router and not with my computer. I could not find «Settings» nor ICMP on here: puu.sh/oAiSs/1b22b2d9f9.png, am i looking in the right place? And lastly, given that the problem might be with the router then i might flash it into DD-WRT, I thought it wouldn’t help because I thought the problem was with my PC but who knows.
@NetworkKingPing Oh and here’s another bit of data, when getting ‘Request timed out’ on pinging the router from my desktop PC, I get really high latency from pinging the router from my laptop, it goes up to over 1000 sometimes, does this mean that the issue is with the router?
I was algo getting random timeouts, and sometimes even «destination host unreachable» while pinging my router. Here’s the 3 things I did to fix this (I don’t know which one made the trick though):
- In the router, changed the wireless channel from 1 to 11 because I detected interference from two other wifi networks.
- In the computer, manually override the DNS server to use OpenDNS.
- In my wireless driver setting I changed the following values:
- 802.11n Channel Witdh from 20Mhz to Auto
- Roaming Aggressiveness from 3.Medium to 5.Highest
Disabling WMM Support did the trick for me as suggested by @NetworkKingPin.
I was seeing ‘request timed out’ as well as quite high time for ping responses even when successful. And it wouldn’t happen from the laptop. Only the desktop which was using a tp-link wireless adapter.
Something interesting to share for netgear users:
On the netgear router admin page I found the QOS setup page. In there the check box saying «Enable WMM (Wi-Fi multi-media) Settings» was already checked and it was disabled as-in there was no way to un-check it. What I had to do to uncheck it and save was
press f12 which opened the developer console -> ‘inspect’ the checkbox html element and manually allow it to be unchecked by removing the ‘disabled’ html attribute -> then click save button.
Hope it helps. This was too long for a comment thus posting as an answer. credits to @NetworkKingPin
You must log in to answer this question.
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.13.43531
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Request timed out when pinging wireless router [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Recently I noticed the internet running very slowly on my laptop, which is connected to my wireless network (Netgear DGN2000). When I ping the router, I get long ping times and/or request timed out. here’s an output:
Reply from 192.168.0.1: bytes=32 time=20ms TTL=64 Request timed out. Reply from 192.168.0.1: bytes=32 time=3ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Request timed out. Reply from 192.168.0.1: bytes=32 time=7ms TTL=64 Request timed out. Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=108ms TTL=64 Reply from 192.168.0.1: bytes=32 time=48ms TTL=64 Request timed out. Request timed out. Reply from 192.168.0.1: bytes=32 time=21ms TTL=64 Reply from 192.168.0.1: bytes=32 time=3ms TTL=64 Reply from 192.168.0.1: bytes=32 time=6ms TTL=64 Request timed out. Reply from 192.168.0.1: bytes=32 time=28ms TTL=64 Request timed out. Request timed out. Request timed out. Request timed out. Reply from 192.168.0.1: bytes=32 time=14ms TTL=64 Request timed out. Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Reply from 192.168.0.1: bytes=32 time=5ms TTL=64 Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Request timed out. Request timed out. Request timed out. Reply from 192.168.0.1: bytes=32 time=221ms TTL=64 Reply from 192.168.0.1: bytes=32 time=1ms TTL=64 Request timed out. Request timed out. Request timed out. Reply from 192.168.0.1: bytes=32 time=87ms TTL=64 Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Request timed out.
This has only started in the last week. When I connect to the router with a cable, the ping time is