PING cmd request timed out for all websites but sites are accessible through browsers

10

3

ping google.com is not working in my windows7 cmd prompt. but google is accessible via browsers

below is the snap shot

enter image description here

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.

enter image description here

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 enter image description here

logan

Posted 2013-08-14T05:48:41.027

Reputation: 193

Can 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? – Matt – 2013-08-14T13:39:27.930

its wifi connection from my mobile to pc . . It was working fine earlier with this network – logan – 2013-08-14T19:45:12.243

I 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?? – AzkerM – 2014-01-14T13:57:40.320

Answers

8

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

Matt

Posted 2013-08-14T05:48:41.027

Reputation: 638

Definitely 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. – Amani Kilumanga – 2017-05-12T09:05:29.200

1tracert command request failed ! – logan – 2013-08-16T04:51:10.147

PathPing appears to ping each node which of course won't work since ping fails. What is the output from a tracert request? – Matt – 2013-08-16T20:20:13.670

its timed out . . Any idea ? – logan – 2013-08-17T02:16:26.970

Can 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. – Matt – 2013-08-17T20:51:59.340

Now 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. – logan – 2013-08-17T21:33:28.277

It 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. – Matt – 2013-08-19T16:28:43.083

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.

dgo

Posted 2013-08-14T05:48:41.027

Reputation: 685

3

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.

root

Posted 2013-08-14T05:48:41.027

Reputation: 2 992

1Technically 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. – Nick Eagle – 2015-10-12T18:17:12.727

0

You are comparing apples and oranges.

Ping and web browsing are two different things. Many websites block incoming pings to prevent excess network load and DoS attacks.

However, I am able to ping those addresses, so it sounds like something is filtering out pings on your side. You might want to try a pathping google.com to see where your pings are getting filtered out.

Keltari

Posted 2013-08-14T05:48:41.027

Reputation: 57 019

Thanks 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 – 2013-08-16T04:50:28.567

you arent able to ping your router. That is very odd... Looks like your router is blocking pings. – Keltari – 2013-08-16T05:02:05.620

how 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 ? – logan – 2013-08-17T02:21:18.037

1I would check your router's settings for anything that looks like ICMP rules, Block all ICMP requests, ect. If (ICMP)[http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol] (ping) is blocked by your router, you won't be able to send out any packets. – root – 2014-01-14T13:28:17.163

-2

You can try to restart the router.

If that does not do it:

:: reset the ipv4 interface
netsh interface ip reset

:: flush and reregister DNs
ipconfig flushdns
net stop dnscache
net start dnscache
ipconfig /registerdns

Frank Agyemang

Posted 2013-08-14T05:48:41.027

Reputation: 1