The cmd tracert <URL> command, quite often, suffers the request timed out issue if the ICMP packets/port are blocked by the routers/ISP's firewall. Now I was wondering if there is any cmd/PowerShell alternative command-line tool that can traceroute using TCP or UDP protocols and measure the latency of a specific web service?
1 Answer
If tracert takes too much time timeout, you could reduce this wait
by using its -w milliseconds parameter.
Another quick connectivity test method is by using telnet.
To use TCP, use the tracetcp free project:
- Download and install the WinPcap library
- Download the latest release oftracetcp
- Extract the archive to use.
Command syntax:
tracetcp.exe hostname:portExample:
tracetcp.exe api.opendns.com:443 2