Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 12:24:23 +0530
From:      Suresh Ramasubramanian <mallet@efn.org>
To:        questions@FreeBSD.ORG
Subject:   Re: ftpd-problem
Message-ID:  <20010104122423.A22779@oyeindia.com>
In-Reply-To: <8354A754F252D211ACB60008C7A4597504D272CC@eseis01nok>; from sampsa.kostia@nokia.com on Thu, Jan 04, 2001 at 08:54:55AM %2B0200
References:  <8354A754F252D211ACB60008C7A4597504D272CC@eseis01nok>

next in thread | previous in thread | raw e-mail | index | archive | help
sampsa.kostia@nokia.com rearranged electrons thusly:

> It works on ports 20/21 as normal. But - when I change the control-port to
> anything else, inbound connections work fine, but I'm no longer able to
> connect anywhere outside. It just says connection refused to _every_ address
> I try.
> I change the port in /etc/services :
> ftp		666/tcp
> ftp		666/udp

Which means that your BSD now assumes that all ftp daemons listen on port 666 -
not just your lan

> Like said, it works just fine when connecting from outside, but if I just
> try ftp ftp.funet.fi it immediately hangs to Connection refused. If the port
> is changed back to 21, everything works normally.
 
Try ftp ftp.funet.fi:21 in case you _really_ want to edit /etc/services for
this.  Or else, just do ftp localhost:666

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin


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?20010104122423.A22779>