Traceroute is a network diagnostic tool that shows the path that internet traffic takes from your computer to a website or server. It helps you to spot connection problems, delays, routing issues or network failures between your device and the destination server.
Website owners, hosting companies and network administrators often use traceroute as a tool to troubleshoot connectivity issues.
A traceroute test when executed shows:
Any “hop” in the network between your computer and the destination
Average hop time
Where connection may be delayed or failed
Traffic flow across networks & providers
This can help you diagnose slow websites, unreachable servers or routing problems.
When data is sent over the internet, it travels through a vast number of routers and networks to reach the destination server.
Traceroute measures:
The route the packets travel
The number of hops
Step response time
If one of the hops doesn't answer or takes too long to answer, this could be a sign of a network issue.
Windows uses this command:
tracert yourdomain.comOpen the command prompt
Type in the tracert command
Hit Return
Illustration:
tracert example.comThe full server route will be displayed on the system.
The command is:
traceroute yourdomain.comOpen Terminal
Type: traceroute
Hit Enter
Example:
traceroute example.comHere’s what a typical traceroute looks like:
Third hop
Name or IP of the router / server
Response time (ms)
For example:
1 router.isp-gateway local 1 ms
2 network-node 8 ms
3 network-node 15 msIf your connection is slower, you may experience a longer response time.
Repeated * * * responses or timeouts could indicate:
Firewall filtering
Packet blocking
Network congestion
Routing problems
Useful for: Traceroute is
How to diagnose and fix a slow website
Troubleshooting Connectivity
Identification of network bottlenecks
Detection of routing failures
Checking server access
Providing information to support teams at the host
Some routers deliberately block the traceroute replies
A timeout does not always mean that the connection is broken
Network routes may change dynamically
Traceroute results vary by location and ISP
Traceroute is a handy network debugging tool which helps you find the route internet traffic takes from your computer to a server. This can help you diagnose connectivity problems, routing problems and slow network performance more effectively. Use tracert (Windows) or traceroute (Mac/Linux).