Search This Blog

Tuesday, April 1, 2008

Ping an IP through a specific port in cmd prompt or telnet

Well, sometimes we need to know whether the port in open or block, we need to do some checking or troubleshoot through ping/telnet. We cannot ping a IP with port but we can telnet certain IP together with Port no.

For example:
Go to open command prompt, if we want to check whether port 21 is working for IP what we need to do is
> telnet 21

please tell me it's work. thanks


Anonymous said...

Works - what should happen if the port is open is it'll just open a telnet session to a blank screen. It should timeout if the port is not open.

Anonymous said...

thanks for sharing this nice info with us.
it really work.