I have a small BananaPi (similar to RaspberryPi) running Ubuntu 14.04 LTS and I would like to use it as an FTP server inside my Network. When trying to connect to the server via port 21 using filezilla on the BananaPi, I am getting the massage
Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
It's the same massage which I get when the server is not even running. In order to set it up I updated and upgraded everything and did the following.
sudo apt-get install proftpd-basic
and selected standalone.
sudo nano /etc/proftpd/proftpd.conf
and changed IPv6 to "off" and the ServerName to "BananaPi".
sudo nano /etc/proftpd/conf.d/proftp-custom.conf
where I inserted
# Ftp user doesn't need a valid shell
<Global>
RequireValidShell off
</Global>
# Default directory is ftpusers home
DefaultRoot ~ ftpuser
# Limit login to the ftpuser group
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
And last I created the user ftpuser
sudo adduser ftpuser --shell /bin/false --home /var/www/upload
and restarted the server via
sudo service proftpd restart
I uninstalled and reinstalled it several times now without success. What am I doing wrong? How to set it up correctly?