How to traceroute a particular IP and Port?

There are sometimes that you want to trace an IP/Host based on a particular port to check if the port is open or not here is how you can do that :

traceroute -T -p 25 yoursite.com

Breakdown :

  • -T indicates to use TCP instead of UDP
  • -p checks specific port

By Vahid

My chief interest is software engineering, mainly dealing with Linux and Java projects, but also interested in teaching what I've learned, have published a couple of CBTs about programming in Persian (java/Android) and here I'll share my thoughts and experiences in English as well.

Leave a comment

Your email address will not be published. Required fields are marked *