Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 23:47:55 +0100 (CET)
From:      Nils Holland <nils@tisys.org>
To:        ann kok <annkok2001@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: service file
Message-ID:  <20011106234153.I520-100000@howie.ncptiddische.net>
In-Reply-To: <20011106213145.74148.qmail@web20104.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106234153.I520-100000>