Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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:

http://www.bradmcallister.com/posts/how-to-use-filezilla-ftp-server-with-windows-azure-virtual-machines/

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

http://imgur.com/UftB0n6

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

Thanks,

Yabbi

share|improve this question
    
+1 thanks for posting this! I was missing the passive settings to make my vm work. –  Eonasdan Sep 17 '13 at 15:20

1 Answer 1

up vote 1 down vote accepted

Managed to finally figure this out after a lot of head scratching. Turns out that azure has implemented a probing of sorts on ports opened using the manager. deleting the passive ports created there and opening them up using powershell allowed this to work.

Here's a good article describing the process: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/8f697f17-72b7-46f7-8c97-398b91190a2f/server-2012-vm-on-azure-passive-ftp-wont-work

share|improve this answer
    
FYI, we have an update coming soon that will make it easier to manage probes for endpoints. Once it's available, the behavior of default probing will be removed. –  Tabrez Mohammed Aug 2 '13 at 16:17
    
I am able to install filezilla in the windows azure and connect inside the server as FTP 127.0.0.1. However I am not able to connect from outside. What could be the issue. I followed the same instruction. –  Karthick Mar 14 at 14:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.