Hey guys so I am trying to allow my friends to connect to my ftp server (I am hosting it on Ubuntu Server 15.04), so I set the pasv_address in the configuration and the port range in the configuration and router. But it still doesn't work. Here is what filezilla says:
Response: 227 Entering Passive Mode (0,0,0,0,203,228). Command: LIST Error: The data connection could not be established: ECONNREFUSED - Connection refused by server Error: Connection timed out Error: Failed to retrieve directory listing
And here is my configuration:
22 Answers
Late answer, but here goes:
I have all the options turned on like you. It is required, but still won't work.
pasv_enable=YES
pasv_min_port=xxx
pasv_max_port=yyy
pasv_address=After these 2 lines change, it is working
listen_ipv6=NO
listen=YES sudo nano /etc/vsftpd.conf
pasv_enable=Yes
pasv_max_port=10100
pasv_min_port=10090
iptables -I INPUT -p tcp --destination-port 10090:10100 -j ACCEPT
sudo ufw allow 10090:10100/tcp
Try allowing Anon login to make sure its not a user/pwd problem. Not sure what pasv_address is. but I have a domain name, so maybe its needed for IP? BTW Check out duckdns for free DNS!
3