Ping Command in Windows

A ping is a built-in tool in the Microsoft Windows operating system. You can use it to test network connectivity with a remote host or computer.


If you have a windows computer try this on your own.

The localhost is the same computer where you are running the ping command. We need first to check local computer network device.

Step 1: Open the command prompt

Go to start > all programs > cmd, if you have windows prior to Vista or 7. You should see the command prompt. Otherwise, type in search box cmd and click in cmd.exe the search results.

Command Prompt in Windows OS

Step 2: Check if the ping is available

You should check if the ping is available on your computer or not. Type ping -help or ping -h to get help with ping. If you get some results then the ping is installed, else windows will not recognize the command.

ping help

Step 3: Type ping localhost to check local computer networking ability.

Type the command – ping localhost and enter. If the network is working correctly, you should see the following results.

ping localhost

Step 4: Test connectivity for a remote host

Now that we know the localhost is working. You need to test connectivity with a remote computer or server. You can do this by typing the ipv4 address or domain name(internet name) of the remote computer.

ping or ping will result in failure or return response shown in the next figure.

ping google

In the next exercise, you will learn about another tool called.tracert


Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version