Windows Server

Windows: Tracert TCP connection to Specific Port

This tutorial will guide you how to tracert a TCP connection even using specific port. This tracert tcp is very useful when trying to trace to connection that bind to specific service. ie. imap service (port 143). I usually used it to troubleshoot. Not recommended for end user (customer) due to complexity and shitty term things.

NOTE : At the moment only applicable for Windows users.

Installing

Go to this address and download tracetcp zip.

Extract it within 1 folder and you will see file called tracetcp.exe.

Tracetcp.exe cannot run standalone, it needs some windows component packed within winpcap packages. Therefore, go to winpcap website and download Installer version. Install it.

Now move file called tracetcp.exe earlier to your default cmd prompt entry. How do I know? Open cmd, you will see your start entry point. If you still using default windows setting, it should be C:\Users\<username>

Now copy tracetcp.exe to C:\Users\<username> and done.

How to use it

To use, run your cmd and type this within your cmd :

tracetcp.exe <target>:<port>

For example :

tracetrcp.exe mail.signetique.com:143

Or if you leave the port to none, then automatically it will use port 80 instead.