Use PING to find network problems

PING allows you to quickly verify the connectivity of your internet connection to the VPS server. It attempts to transmit a packet from your computer to a website on the network and listens for the response to ensure that it was correctly received. The most basic use of PING is simply the command PING and the destination IP address or host name.

For example, you can open a command-line window and use this command:

Start > Run > Type in cmd > Hit ENTER

In the Terminal window, you can type in commands like this:


Or like this:


This sort of PING command will most often result in one of two responses. You will either see something like this (which is a good response):

64 bytes from ( icmp_seq=2 ttl=60 time=2.16 ms 
64 bytes from ( icmp_seq=3 ttl=60 time=2.23 ms 
64 bytes from ( icmp_seq=4 ttl=60 time=2.45 ms 

Or you might see something like this (which is not a good response and indicates either your internet connection is having issues, or the server is not reachable):

Request timed out.
Request timed out.
Request timed out.

The reason you will see multiple results is that the PING command will generally attempt to "PING" the destination three times. For example, you might see this:

Request timed out.
64 bytes from time = 250 ms
Request timed out.
Request timed out.

In this case, PING did not locate the destination in a reasonable amount of time on the first attempt, succeeded on the second attempt, and it then failed on the last two attempts.
This should give you a basic understanding of the PING utility when troubleshooting a network problem. 

Was this answer helpful?

 Print this Article

Also Read

Secure mail server checklist

Setup of email server in Linux is simple, but your job does not end there. Customer had...

Identify a DoS/DDoS attack

If your server appears pretty slow, there could be many things wrong such as poorly written...

Quickly allowing/denying IP’s using iptables

How do you block an IP using iptables?iptables -A INPUT -s xx.xx.xx.xx -j DROPHow do you block an...

Close an Open DNS

The terms Open and Closed are now used to describe DNS servers in the following context: Open...

Create an SPF record for domain

The Sender Policy Framework (SPF) is a method of fighting spam. As more time passes, this...