From owner-freebsd-questions Tue Nov 6 14:47:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id D429337B418 for ; Tue, 6 Nov 2001 14:47:49 -0800 (PST) Received: from colt.ncptiddische.net (ppp-137.wobline.de [212.68.69.145]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fA6Mljp02664; Tue, 6 Nov 2001 23:47:45 +0100 Received: from howie.ncptiddische.net (howie.ncptiddische.net [192.168.0.3]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA6MloD02448; Tue, 6 Nov 2001 23:47:50 +0100 (CET) (envelope-from nils@tisys.org) Received: from howie.ncptiddische.net (howie.ncptiddische.net [192.168.0.3]) by howie.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA6Mlta00568; Tue, 6 Nov 2001 23:47:55 +0100 (CET) (envelope-from nils@tisys.org) Date: Tue, 6 Nov 2001 23:47:55 +0100 (CET) From: Nils Holland To: ann kok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: service file In-Reply-To: <20011106213145.74148.qmail@web20104.mail.yahoo.com> Message-ID: <20011106234153.I520-100000@howie.ncptiddische.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 6 Nov 2001, ann kok wrote: > Hello all > > I am wandering what is the function of the file > 'service' Well, /etc/services contains the name of well-known network services and their officially assigned IP numbers. > I can run the openldap '389' and don't need to add the > port in the service file. The file only contains the official port(s) that any given service normally runs on. It is, however, basically possible to let any service run at any port. Example: Although a POP3 mailserver runs on / listens to port 110 by default (and according to official standard), you can theoretically bind a POP3 server to any port. Hope that helped. Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message