[NCLUG] Can't ftp to self

Mark Fassler fassler at monkeysoft.net
Fri Feb 1 10:27:11 MST 2002


On Fri, Feb 01, 2002 at 10:06:38AM -0700, rosing at peakfive.com wrote:

> I'm still setting up my home network and have a machine that I'd like
> to be able to serve ftp and telnet.  I tried ftp 127.0.0.1 and it says
> connection refused.  Xinetd is running. /etc/xinetd.d/wu-ftpd says ftp
> is enabled (and xinetd.conf includes xinted.d). ipchains says nothing is
> rejected (this machine is behind the firewall). Ifconfig says lo is up
> and running. Hosts.allow is set to ALL:ALL. Hosts.deny is set to
> nothing. Ssh 127.0.0.1 works but I don't want to enter passwords for
> my local machines.
> 
> What else should I look for?

Try "netstat --inet -an", you should see a line like this:

tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN

This will tell you that the ftp server is actually listening and waiting 
for connections (on any address [0.0.0.0] port 21).  If you don't see 
this, then the ftp server isn't actually running.  
  
There are also a couple of files ( /etc/ftpaccess, /etc/ftphosts, 
/etc/ftpusers) which might be denying access...

--
Mark Fassler
fassler at monkeysoft.net



More information about the NCLUG mailing list