Recently I've been attempting to setup a filezilla server on one of azure virtual machines and cannot seem to get it fully running. I am currently able to get an initial connection, however subsequent data connections (i.e. for listing remote directories, file transfers etc..) always fail. I have tried following the advice on various blogs like this one:
however I still get the same results.
Azure manager settings
unfortuantely I don't have enough reputation to post pictures of the configuration, so I will try my best to describe them.
for the server I have 2 Endpoints open for ftp.
- TCP public port: 21, private port: 21
- TCP public port: 65100, private port: 65100
General server settings
For the purpose of eliminating potential sources of errors I have temporarily turned off windows firewall on the server, so that should not affect the results that I'm seeing here.
FileZilla PASV settings
- use custom port range checked. range used was 65100 - 65100
- use the following IP checked, with the public virtual IP (VIP) Address from the azure dashboard.
- Don't use external IP for local connections unchecked
Connection Attempt Log
Status: Connecting to XXX.XXX.XXX.XXX... Status: Connection established, waiting for welcome message... Response: 220-FileZilla Server version 0.9.41 beta Response: 220-written by Tim Kosse (Tim.Kosse@gmx.de) Response: 220 Please visit http://sourceforge.net/projects/filezilla/ Command: USER x Response: 331 Password required for x Command: PASS ******** Response: 230 Logged on Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is current directory. Command: TYPE I Response: 200 Type set to I Command: PASV Response: 227 Entering Passive Mode (XXX,XXX,XXX,43,254,76) Command: MLSD Response: 425 Can't open data connection. Error: Failed to retrieve directory listing