Page 1 of 1

FTP connection always times out when listing directories

Posted: Mon Oct 26, 2015 8:07 pm
by ortund
I'm using Ubuntu Server 14.04.3 and I'm attempting to connect to the FTP with FileZilla from my Windows 10 pc.

I'm super new to Linux and have only set this up because my business partner has decided that we need to use Linux to keep our customers costs low, so I don't really know all the ins and outs.

When I attempt to connect to vsftpd, the login succeeds, but my connection times out after ~20 seconds while attempting to retrieve directory listings.

See the Filezilla message log below:

Code: Select all

22:05:05	Status:	Resolving address of plootopos.com
22:05:05	Status:	Connecting to 52.89.201.101:21...
22:05:05	Status:	Connection established, waiting for welcome message...
22:05:06	Status:	Insecure server, it does not support FTP over TLS.
22:05:08	Status:	Connected
22:05:08	Status:	Retrieving directory listing...
22:05:30	Command:	PWD
22:05:30	Response:	257 "/"
22:05:30	Command:	TYPE I
22:05:30	Response:	200 Switching to Binary mode.
22:05:30	Command:	PASV
22:05:30	Response:	227 Entering Passive Mode (52,89,201,101,47,9).
22:05:30	Command:	LIST
22:05:30	Error:	The data connection could not be established: ETIMEDOUT - Connection attempt timed out
22:06:09	Response:	425 Failed to establish connection.
22:06:09	Error:	Failed to retrieve directory listing
Can anyone help me to determine whether or not this is a configuration issue or if this is a problem with my connection?

Re: FTP connection always times out when listing directories

Posted: Tue Oct 27, 2015 7:45 pm
by Govo
Hi Ortund

Best use sftp in fille zilla, if you are on the local network to your server then port 22 is open always, if not, you need to forward port 22.


I haven't used the standard ftp because I keep getting the follow error, and just haven't the time to look at it yet
Insecure server, it does not support FTP over TLS
Here is were the logs are for trouble shooting
http://vestacp.com/docs/#config-log-loc ... ian-ubuntu

ssh into your server
type sudo -i
enter password

and then nano /var/log/xferlog

Crtl+X to exit

Cheers
Govo