How to add port number in tracert command

Advaya Joshi 0 Reputation points
2023-06-18T16:24:07.2166667+00:00

I'm trying to see the network hops and time it takes for each hop to be checked for a website; however the website is communicating over port 443; hence if I do tracert with just URL; it fails after a point.
On Linux systems; traeroute offers -p parameter where port can be specified.

The URL I'm trying to hit only works on port 443 and hence beyong certain n/w hop; it just times out/ gives no response. If I try same approach from Linux as well; it fails.
Only when I specifiy below command on Linux/ Unix; it works:

traceroute -T -p 443 <URL>

Need to check how this can be achieved in Windows as tracert doesn't seem to have option to specify a different port number.

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-06-18T16:39:29.76+00:00

    Sme ideas here.

    https://serverfault.com/questions/49235/traceroute-tcp-equivalent-for-windows

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.