Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 19:47:54 +0200
From:      Mattias Pantzare <pantzer@ludd.luth.se>
To:        Donn Miller <dmmiller@cvzoom.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: ftp and /etc/services... 
Message-ID:  <200008161747.TAA00219@mother.ludd.luth.se>
In-Reply-To: Message from Donn Miller <dmmiller@cvzoom.net>  of "Wed, 16 Aug 2000 05:39:33 EDT." <Pine.BSF.4.21.0008160535340.9970-100000@acs-24-154-11-41.zoominternet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> This is on a recently-built -current box.  When I try to move ftp from
> port 21 to port 2121 in /etc/services, I get a "Connection
> refused" message when I try to login to anonymous ftp sites.  Should ftp
> be this dependent on /etc/services?  What if you _have_ no services
> running, e.g. inetd & portmap?  Returning ftp to port 21 in services fixes
> this problem.  I posted earlier about my problems with ftp recently.

Yes! From man 5 services:

     The services file contains information regarding the known services
     available in the DARPA Internet.  For each service a single line should
     be present with the following information:


If you wish to have your ftp-service on a diffrent port you simply tell inetd 
to use that port in inetd.conf.

/etc/services is not only used by inetd.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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