Page 1 of 1

ping on a port

Posted: Wed Jan 10, 2007 12:10 pm
by neel_basu
I am Using Windows
I Wanna ping on a specific port suppose 80 or 25 on my localhost 127.0.0.1
So I Was Trying

Code: Select all

ping 127.0.0.1:80
But It Got It
cmd wrote:C:\>ping 127.0.0.1:80
Ping request could not find host 127.0.0.1:80. Please check the name and try again.
So how can i ping on a specific port

Posted: Wed Jan 10, 2007 12:34 pm
by timvw
Afaik: pinging is sending ICMP messages (part of the IP)... So i find it hard to understand exactly what you mean with 'specify a port?' Since i would expect a port to be something that belongs to the TCP..

Posted: Wed Jan 10, 2007 12:37 pm
by feyd
You cannot ping a port.

Posted: Wed Jan 10, 2007 12:45 pm
by neel_basu
timvw wrote:Afaik: pinging is sending ICMP messages (part of the IP)... So i find it hard to understand exactly what you mean with 'specify a port?' Since i would expect a port to be something that belongs to the TCP..
As http://127.0.0.1:80 Opens The Page on a browser I was trying to ping 127.0.0.1 on port 80
feyd wrote:You cannot ping a port.
But Why ??

Posted: Wed Jan 10, 2007 12:49 pm
by feyd
Ping is outside the boundaries of "ports."

Read this: http://en.wikipedia.org/wiki/Ping

Posted: Wed Jan 10, 2007 12:58 pm
by neel_basu
Ok Thanks