Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ping request time out although web browser works on same computer

I'm on the World Wide Web right now, as evidenced by posting on StackOverflow. However, if I try to ping stackoverflow.com from the command line, the ping times out. What do I need to do for ping to work?

> ping stackoverflow.com

Pinging stackoverflow.com [198.252.206.140] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 198.252.206.140:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Edit, try tracert

> tracert stackoverflow.com

Tracing route to stackoverflow.com [198.252.206.140] over a maximum of 30 hops:

  1     *        *        *     Request timed out.
  2     *        *        *     Request timed out.
  3     *        *        *     Request timed out.
  4     *        *        *     Request timed out.
  5     *        *        *     Request timed out.
  6     *        *        *     Request timed out.
  7     *        *        *     Request timed out.
  8     *        *        *     Request timed out.
  9     *        *        *     Request timed out.
 10     *        *        *     Request timed out.
 11     *        *        *     Request timed out.
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14     *        *        *     Request timed out.
 15     *        *        *     Request timed out.
 ...
 Trace complete.

It's Request timed out. all the way to 30 hops.

Edit, try ping google.com

Same result. :-)

like image 947
Shaun Luttin Avatar asked Apr 23 '15 14:04

Shaun Luttin


People also ask

Why do I get request timed out when trying to ping a website?

In most cases, a "Request Timed Out" message is caused by a firewall blocking the connectivity. Before you can ping, you'll need to ensure that the target machine has a green status indicator. If this is not the case, search our knowledge base for the color indicator you see (i.e., yellow, cyan, etc).

Can ping but browser not working?

If you can ping a host but not open it in a browser, then I suspect that your browser settings have been compromised. Check for any proxy settings that may have been configured by malware. Furthermore, try using a different browser.

How do I change my ping timeout?

-w timeout Specifying a timeout value when executing the ping command adjusts the amount of time, in milliseconds, that ping waits for each reply. If you don't use the -w option, the default timeout value of 4000 is used, which is 4 seconds.

When you receive the message request time out after you ping another computer What are things that you need to check?

You need to ensure that you have internet access and you are not stopped by any firewall or some other security feature from accessing that site. It may also be if you have pinged a wrong IP or if the address is not being resolved by your DNS. 2. The pinged site is not responding to your requests.


1 Answers

Some hosts have a firewall that block the ICMP (http://ca.wikipedia.org/wiki/Internet_Control_Message_Protocol) packets like ping. You can use traceroute (cmd line tool or online webs like http://ping.eu/traceroute/) or tcptraceroute (http://linux.die.net/man/1/tcptraceroute).

Some routers also have a firewall that block ICMP. You can detect this by doing ping google.com. It that fails, then it's your local router that's problematic not the remote host.

hope it can help you

like image 169
nada Avatar answered Oct 15 '22 19:10

nada