PING cmd request timed out for all websites but sites are accessible through browsers
Solution 1
From the limited information we know about your network setup it appears that something is blocking ICMP requests out. I would take a look at your router and make sure you haven't recently changed a setting to not allow outbound ICMP (which admittedly would be strange) or talk with your provider and see if they are blocking the requests.
I do wonder though if your web browser is working why are you attempting to ping google? Are you having other problems with connectivity (blocked Torrents, FTP, etc?) that may help clarify what is wrong?
It may also help to try a traceroute to see how far that is able to go.
tracert www.google.com
Solution 2
You may be experiencing a commonly faced problem of being able to ping domains by their IP address but not by their domain names. In your original ping to Google, the public address returned was 173.194.36.99
. I would attempt to ping that IP first before troubleshooting elsewhere.
If it turns out that you're able to ping IP's but not domain names, you will want to look up more on DNS Resolution.
Solution 3
Having encountered a variety of weird Internet problems similar to yours, I will offer the different methods I use that tend to clear up the issue. My knowledge of why they tend to work is at best intermediate, but they tend to resolve issues:
The order is unimportant, as is doing all of them. Any one or a combination of several of them might do it.
All from the command prompt:
:: resets the ipv4 interface
netsh interface ip reset
:: flush and reregister DNs
ipconfig /flushdns
net stop dnscache
net start dnscache
ipconfig /registerdns
:: clear persistent routes
route print -f
:: start / restart mrxdav
net stop netbt
net stop mrxdav 2>nul
sleep 60
net start mrxdav
net start netbt
:: clean the arpcache
arp -a -d
:: I might have the order of the switches backwards and the order matters, so if that doesnt do anything put the -d before the -a
:: make sure winhttp and webclient services are running (this is a mystery to me / neither appear necessary, but both have fixed my problem on various occasions)
net start webclient
net start winhttp
Finally if still not fixed, restart router and the restart pc. It won't tell you what is wrong, but it will almost certainly fix the problem.
Solution 4
When pinging add "-4" at last. Like "ping google.com -4"
I know it's been 6 years since the questioned is posted. But this may help others.
Related videos on Youtube
logan
Updated on September 18, 2022Comments
-
logan over 1 year
ping google.com
is not working in my windows7 cmd prompt. but google is accessible via browsersbelow is the snap shot
Note: None of the website in pinging.. all requests are timed out
But the same
google.com
is working fine in all browsers. below is the snapshot.Note: I am using wireless connection for accessing internet.
Please help me to resolve this issue . Thanks in advance.
Also, below is the output of
pathping google.com
-
Matt over 10 yearsCan you give a bit of details about your network environment? Is it a corporate lan or home? Do you have a router or proxy connected?
-
logan over 10 yearsits wifi connection from my mobile to pc . . It was working fine earlier with this network
-
AzkerM over 10 yearsI don't know this is accurate but I've noticed that some of the ISP's in my country use to restrict such access from their end. This is what once an engineer told me when my friend was questioning about the same exact problem... May I ask whether this has happened recently or is it from the beginning??
-
-
logan over 10 yearsThanks Keltari. I have given a snapshot of the result of pathping google.com at the bottom of the question. Please see it, it is also failing...
-
logan over 10 yearstracert command request failed !
-
Keltari over 10 yearsyou arent able to ping your router. That is very odd... Looks like your router is blocking pings.
-
Matt over 10 yearsPathPing appears to ping each node which of course won't work since ping fails. What is the output from a tracert request?
-
logan over 10 yearsits timed out . . Any idea ?
-
logan over 10 yearshow come its possible ? I was able to ping the sites earlier with same wireless connection. And even i tried blocking antivirus and firewall but no use . Any idea ?
-
Matt over 10 yearsCan you try connecting directly to your internet without using the wireless router? Basically if possible plug the wire from your DSL or Cable modem directly to your laptop ethernet port and see if you still timeout. That would likely narrow down if it is the router or your service provider blocking the ping.
-
logan over 10 yearsNow its working if connect through lan. But i want it to work in wireless too.. PFB LAN result C:\Users\Toshiba>tracert www.google.com Tracing route to www.google.com [74.125.135.99] over a maximum of 30 hops: 1 * * * Request timed out. 2 106 ms 61 ms 118 ms 10.174.30.76 3 * * * Request timed out. 4 * * * Request timed out.
-
Matt over 10 yearsIt sounds like either your wireless settings in your router or computer are causing the issue. Without know the model of your router it is hard to suggest what settings to check. I would guess it is in the router causing the problems. Maybe try posting a question to their forum and see if the router has a setting that could be the problem.
-
root over 10 yearsI would check your router's settings for anything that looks like
ICMP rules, Block all ICMP requests
, ect. If (ICMP)[en.wikipedia.org/wiki/Internet_Control_Message_Protocol] (ping) is blocked by your router, you won't be able to send out any packets. -
Nick Eagle over 8 yearsTechnically that is wrong because it was able to resolve the address, meaning if it resolved the address its not anything to do with DNS. ICMP is blocked, we need to know the network setup to help.
-
Amani Kilumanga almost 7 yearsDefinitely an upstream router issue. One of the easiest ways of confirming it (since the issue is exclusive to wireless), is to get an internet connection through tethering and try again.