ping on a port

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

ping on a port

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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..
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You cannot ping a port.
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Post 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 ??
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Ping is outside the boundaries of "ports."

Read this: http://en.wikipedia.org/wiki/Ping
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Post by neel_basu »

Ok Thanks
Post Reply