Technology and troubleshooting.

Friday, January 29, 2016

How to ping a port

How to ping a port 

Today, I am going to share you about tcping port level ping tool. some times your network administrator blocks inbound ICMP packets. on that time ping command may not helpful for network based troubleshooting to reach outside network.




Here's the tricky "tcping"

Windows:-  

Note:- No installation is required

Download click Here TCPING

How to use tcping 

Copy the tcping.exe from download area and paste into C:\Windows\System32

Now open the command prompt

tcping -t google.com

tcping --help to get deatails about tcping

You will get output like this 


  Linux:- 

Demonstrative Purpose I used Centos
Distributor ID: CentOS
Description:    CentOS release 6.7 (Final)
Release:        6.7
Codename:       Final









Download:- Tcpping


wget http://pkgs.repoforge.org/tcptraceroute/tcptraceroute-1.5-0.beta7.el6.rf.x86_64.rpm

 rpm -ivh tcptraceroute-1.5-0.beta7.el6.rf.x86_64.rpm

How to use tcpping 

Syntax:- Usage: tcpping [-d] [-c] [-C] [-w sec] [-q num] [-x count] ipaddress [port]

        -d   print timestamp before every result
        -c   print a columned result line
        -C   print in the same format as fping's -C option
        -w   wait time in seconds (defaults to 3)
        -r   repeat every n seconds (defaults to 1)
        -x   repeat n times (defaults to unlimited)

See also: man tcptraceroute
 

Example:- tcpping google.com

You will get output like this



I hope this information is useful for you. Please forgive any typos or incomplete sentences.
Share:

0 comments:

Post a Comment

Contributors

Popular Posts