Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Windows Commands / IT Support Guides

Use ping to separate reachability from application failure

Use ping to check whether a Windows computer receives replies from a known destination.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Understand the problem

Choose a device you administer or are allowed to test. Replace the sample address and name with the IP and hostname of the same device.

Run the command

Run both commands from the affected computer. The -n 4 option sends four echo requests per command.

ping -n 4 192.0.2.1
ping -n 4 example.com

Read the output

Read the reply source and the round-trip time. If the hostname command says it could not find the host but the matching IP replies, check name resolution. A timeout alone can also occur when a device or firewall blocks ping.

Choose the next step

If the destination replies but the application still fails, test the application’s actual connection separately. If only the name fails to resolve, confirm the name and check the DNS answer.

Before making changes

Record the time and destination you tested. Ping checks echo replies, so verify application availability using the affected service.

Source & further reading

Microsoft Learn — ping

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles