From owner-freebsd-questions Tue Mar 31 13:17:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24844 for freebsd-questions-outgoing; Tue, 31 Mar 1998 13:17:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24783 for ; Tue, 31 Mar 1998 13:17:34 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA05822; Tue, 31 Mar 1998 13:17:27 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 31 Mar 1998 13:17:27 -0800 (PST) From: Doug White Reply-To: Doug White To: "J.R.S. II" cc: questions@FreeBSD.ORG Subject: Re: stupid ping question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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