Monday, 12 November 2012

How to ping a specific port of a remote host

Ping is a networking utility used to test the reachability and round-trip time (RTT) delay of a remote host over Internet Protocol (IP). Ping utility does so by sending out a series of Internet Control Message Protocol (ICMP) echo request packets to a remote host, and waiting for corresponding ICMP response packets from the host. However, you cannot ping a specific port because ICMP belongs to layer-2 IP layer, not layer-3 transport layer (e.g., TCP/UDP). In order to ping a specific port of a remote host, you need to use layer-3 transport protocols which have a notion of port numbers.Read more »

No comments:

Post a Comment