networking - Why does my proftpd server refuse the connection? - Ask Ubuntu
i have small bananapi (similar raspberrypi) running ubuntu 14.04 lts , use ftp server inside network. when trying connect server via port 21 using filezilla on bananapi, getting massage
status: connecting 127.0.0.1:21...
status: connection attempt failed "econnrefused - connection refused server".
it's same massage when server not running. in order set updated , upgraded , did following.
sudo apt-get install proftpd-basic
and selected standalone.
sudo nano /etc/proftpd/proftpd.conf
and changed ipv6 "off" , servername "bananapi".
sudo nano /etc/proftpd/conf.d/proftp-custom.conf
where inserted
# ftp user doesn't need valid shell <global> requirevalidshell off </global> # default directory ftpusers home defaultroot ~ ftpuser # limit login ftpuser group <limit login> denygroup !ftpuser </limit>
and last created user ftpuser
sudo adduser ftpuser --shell /bin/false --home /var/www/upload
and restarted server via
sudo service proftpd restart
i uninstalled , reinstalled several times without success. doing wrong? how set correctly?
- open filezilla
- click on edit top menu, click on network configuration manager. if first time configuring filezilla's network settings @ firewall , route configuration wizard.
- select passive (recommended) , allow fallback other transfer mode on failire , click next.
- on configure passive mode page select use server's external ip address instead , click next.
select get external ip address following url option, can leave default of http://ip.filezilla-project.org/ip.php
finally on configuration test page, click on test. if don't receive errors should go.
Comments
Post a Comment