A ping test is the quickest way to see how long it takes to reach a server and whether packets get lost along the way. But "I got 30 ms" on its own says very little: how many packets were sent, what was the worst time, was anything lost, and is the problem on your connection or somewhere on the path to the server? This guide walks through running a ping test properly on Windows, Linux and macOS, reading the result, using tracert and MTR to find where a problem starts, and putting together a report your provider's support team can actually use.
Ping sends an ICMP "Echo Request" packet to a host and waits for an "Echo Reply". The time between sending and receiving is the round-trip time (RTT), shown in milliseconds. A ping test tells you four things:
Ping does not measure bandwidth, page load time or application response time. If ping is low but your site is still slow, the bottleneck is most likely server resources or the application rather than the network. Our guide on finding server performance problems in ten minutes covers that side.
Open Command Prompt by typing "cmd" in the Start menu. The default ping command sends only four packets, which is enough to confirm the server is up but not enough to judge quality. Send more packets for a meaningful sample:
ping -n 100 203.0.113.10
ping -t 203.0.113.10 (runs until you press Ctrl+C)
ping -6 -n 50 your-server.example (test over IPv6)
When the command finishes, a summary at the bottom shows packets sent, received and lost, plus the minimum, maximum and average time. That summary is what you should focus on.
Because ping relies on ICMP, a server that blocks ICMP returns "Request timed out". In that case, testing the service port over TCP is more reliable. In PowerShell:
Test-NetConnection 203.0.113.10 -Port 3389
Test-NetConnection 203.0.113.10 -Port 443 -InformationLevel Detailed
The line TcpTestSucceeded : True means the port is open and the service answered. If ping fails but the TCP test succeeds, the server is running; only ICMP is filtered.
On Linux and macOS, ping keeps running until you stop it, so it is practical to set the packet count up front:
ping -c 100 203.0.113.10
ping -c 200 -i 0.2 203.0.113.10 (200 packets, 0.2 s apart)
ping -6 -c 50 your-server.example (on some systems: ping6)
The Linux summary looks like this:
100 packets transmitted, 100 received, 0% packet loss, time 99141ms
rtt min/avg/max/mdev = 28.412/29.087/34.906/0.913 ms
The mdev value shows how far individual times deviate from the average and is a handy jitter indicator. To check a service port, use nc:
nc -vz 203.0.113.10 22
nc -vz 203.0.113.10 443
Do not judge by a single number. Look at how the three values fit together.
| What you see | Likely meaning | Next step |
|---|---|---|
| Low average, maximum close to average, no loss | Healthy, stable connection | Nothing to fix |
| Low average with occasional large spikes | Local congestion, Wi-Fi interference or brief queuing | Repeat the test over a cable |
| Consistently high but stable average | Distance or an indirect route | Inspect the path with tracert or MTR; reconsider location |
| Steady loss of 1% or more | Faulty link, overload or a bad hand-off point | Use MTR to find the hop where loss begins |
| Latency rises at certain hours | Evening congestion at your internet provider | Test at different times and compare |
| No reply at all | ICMP blocked, firewall, or a real outage | Run a TCP port test |
What is a normal ping? Light travels more slowly in fiber than in a vacuum, adding roughly 1 ms of round-trip time for every 100 km of distance, before router hops and non-straight cable routes are counted. A few milliseconds within one city, tens of milliseconds within a country and well over a hundred between continents are all normal. We cover the effect of distance in more depth in our guide to server location and ping in Turkey.
Low-latency servers close to your users
VDS plans in Istanbul, in a facility built to Tier 3 standards, with KVM virtualization and a 1 Gbps port.
Browse VDS plansPing shows you the outcome; tracert shows you the route. Every router a packet passes through on its way to your server is listed as a hop, which lets you see where latency jumps.
Windows: tracert -d 203.0.113.10
Linux: traceroute -n 203.0.113.10
Linux (over TCP 443, for paths that filter ICMP):
sudo traceroute -T -p 443 -n 203.0.113.10
The -d and -n flags turn off name lookups so the test finishes much faster. Seeing * * * on some hops is normal: that router simply does not answer these probes, and traffic is not stopping there. If later hops respond, everything is fine.
On Windows, pathping combines tracert and ping: it maps the route first, then sends packets to each hop for a while and calculates loss. A full run takes a few minutes, but it is useful on a Windows machine where you cannot install MTR:
pathping -n 203.0.113.10
MTR runs traceroute and ping together, continuously. For each hop it shows packets sent, loss percentage and best, average and worst times in a single table. It has become the standard format for network reports sent to providers.
Ubuntu/Debian: sudo apt install mtr-tiny
AlmaLinux/Rocky: sudo dnf install mtr
macOS (Homebrew): brew install mtr
Report mode (100 packets, with IPs and AS numbers):
sudo mtr -rwzbc 100 203.0.113.10
Over TCP 443:
sudo mtr -rwzbc 100 -T -P 443 203.0.113.10
If one hop in the middle shows 20%, 40% or even 60% loss but the destination shows 0%, that is not real loss. Internet routers prioritize forwarding traffic and give limited resources to ICMP aimed at themselves, so loss at a single intermediate hop usually just means that router could not be bothered to reply.
Real problems have two signatures:
A time that looks high at one hop but drops again further along comes from the same ICMP deprioritization and can be ignored.
| MTR table | Interpretation |
|---|---|
| Hop 5: 40% loss; hops 6-10 and destination: 0% | No problem; that router rate-limits ICMP |
| Around 8% loss from hop 5 to the destination | Real loss; the link between hops 4 and 5 is suspect |
| Loss and high jitter at hop 1 or 2 | Most likely your local network or router |
| +80 ms jump at hop 7, high from then on | Traffic may be taking a long detour (routing) |
Failing to ping a freshly installed Windows Server is very common, because the Windows firewall does not answer inbound ICMP echo requests by default. To let your monitoring or your own tests work, add a rule that allows only echo requests. In an elevated PowerShell window:
New-NetFirewallRule -DisplayName "Allow ICMPv4 Echo" -Protocol ICMPv4 -IcmpType 8 -Direction Inbound -Action Allow
New-NetFirewallRule -DisplayName "Allow ICMPv6 Echo" -Protocol ICMPv6 -IcmpType 128 -Direction Inbound -Action Allow
On Linux, ufw allows echo requests in its default rules. If you wrote your own nftables or iptables rule set, rate-limiting ICMP is healthier than blocking it outright:
sudo iptables -A INPUT -p icmp --icmp-type echo-request -m limit --limit 5/second -j ACCEPT
sudo iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
Never block ICMP entirely on IPv6. IPv6 depends on ICMPv6 for neighbor discovery and path MTU discovery, and blocking it completely breaks connectivity in confusing ways. Limiting echo requests is enough.
If a firewall mistake locks you out, you can log in through the console in the Client Area on a VDS, or through the browser-based HTML5 KVM console on a dedicated server, and fix the rule.
top and vnstat; on Windows, the Performance tab in Task Manager.If small pings go through but larger packets stall, there may be an MTU mismatch on the path. Disable fragmentation and test packet sizes. 1472 bytes of payload plus a 28-byte header equals the standard 1500-byte Ethernet MTU:
Windows: ping -f -l 1472 203.0.113.10
Linux: ping -M do -s 1472 -c 5 203.0.113.10
If you get "Packet needs to be fragmented" or "message too long", reduce the size until you find the largest value that passes. This is especially revealing on VPN and tunnel connections.
Ping tests are useful before you buy, not only when something breaks. If most of your users are in Turkey, a server located there usually gives the lowest latency; for users across Europe, Germany or France is often the better fit. Keep these points in mind:
-6. VDS, dedicated and GPU servers in our Turkey location include a free /64 IPv6 block.For a broader look at location choice, read our guide to choosing a data center location.
Dedicated servers for users in Turkey
Hosted in Istanbul, with browser-based HTML5 KVM console access and 24/7 support.
See dedicated servers in TurkeyA ticket that just says "the internet is slow" tends to bounce back and forth several times. Sharing the following in your first message gets the problem located much faster:
mtr -rwzbc 100), or pathping -n output on Windows.Paste results as text rather than screenshots so values can be copied and compared. Support requests are accepted 24/7.
How many packets should a ping test use?
A default run of four packets only tells you the server is reachable. To judge latency and packet loss, send at least 50 to 100 packets, and for intermittent problems repeat the test at different times of day.
I cannot ping my server. Is it down?
Not necessarily. The Windows Server firewall does not answer inbound ICMP requests by default, and some Linux servers have ICMP disabled. To check whether the server is up, test its service port over TCP, for example with Test-NetConnection or nc.
Is packet loss at an intermediate hop in MTR a problem?
Usually not, if the loss appears only at that hop and the following hops and the destination show zero. Routers give low priority to ICMP aimed at themselves. Real loss starts at one hop and carries through all the way to the destination.
What counts as a good ping time?
There is no single correct number because latency depends mostly on distance. A few milliseconds within the same city, tens of milliseconds within a country and over a hundred milliseconds between continents are all normal. Stability matters as much as the average.
What is jitter and why does it matter?
Jitter is the variation in delay between consecutive packets. Even with a low average ping, high jitter causes stutter and drops in voice calls, games and remote desktop sessions. The gap between the minimum and maximum times in a ping summary gives a rough idea.
Which test results should I attach to a support ticket?
Include your own public IP address, the date and time of the test, a ping summary of at least 100 packets and an MTR or tracert output toward the destination. If possible, also share a reverse test run from the server back to your IP address.