Date: Tue, 31 Mar 1998 13:17:27 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: "J.R.S. II" <jrs@Mcs.Net> Cc: questions@FreeBSD.ORG Subject: Re: stupid ping question Message-ID: <Pine.BSF.3.96.980331131528.5798F-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.95.980331115045.15085B-100000@Mars.mcs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Mar 1998, J.R.S. II wrote: > If I'm trying to ping a port on a specific ip # what would i do. > I thought it would be something like > > $ping 255.255.255.255:80 > > for port 80 on a machine that is 255.255.255.255 Ping uses ICMP (Internet Control Message Protocol) Echo messages which are specially treated by the IP stack. They aren't sent to any particular port since they aren't destined for an application. If you want to check the existence of a service, use telnet with the optional port argument, ie `telnet machine 80'. If it comes back "Connection Refused" the service is not running. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980331131528.5798F-100000>