Ping / latency test (TCP)
Enter a host (and optional port) to measure the TCP round-trip time from our network: a quick reachability and latency check. Defaults to port 443.
How to use the ping / latency test (tcp)
- Enter a hostname (and a port, or leave it at 443).
- Press Test.
- Read the min, average, and max round-trip time across the samples.
Reading the results
This opens several TCP connections to the host and times how long each takes to establish: a round-trip latency measurement that works even where ICMP "ping" is blocked, and that confirms the actual service port is reachable. The numbers are measured from vpn.golf's network to the host, not from your own device, so they're best for comparing how reachable a server is rather than measuring your personal connection. Under 30 ms is excellent, 30–100 ms is fine for most uses, and a wide gap between min and max means high jitter. To check whether a specific port is open at all, use the port checker.
Code & API examples
Use this from the command line or your code. The API is free, GET-only, and returns JSON.
curl "https://vpn.golf/api/tools/ping?host=example.com&port=443"
nc -zv -w3 example.com 443
See all endpoints at /api/tools/.
Frequently asked questions
vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.
Step up to the tee for free