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?

  1. open filezilla
  2. click on edit top menu, click on network configuration manager. if first time configuring filezilla's network settings @ firewall , route configuration wizard.
  3. select passive (recommended) , allow fallback other transfer mode on failire , click next.
  4. on configure passive mode page select use server's external ip address instead , click next.
  5. select get external ip address following url option, can leave default of http://ip.filezilla-project.org/ip.php

  6. finally on configuration test page, click on test. if don't receive errors should go.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User