Hello,
I am having two Azure virtual machines. Both running Windows OS. I configured the FTP on VM1 and I can assess it from FileZilla and my own written c# code.
But When I try to connect the VM1 FTP from VM2 using my code and/or from FileZilla, I'm getting directory listing error. I can connect to FTP but can not list the files or directory.
I checked it with Active and Passive mode.
Please let me know where I'm doing wrong?
Filezilla message:
Status:Disconnected from serverStatus:Resolving address of <MY AZURE VIRTUAL MACHINE DOMAIN>
Status:Connecting to <MY AZURE VIRTUAL MACHINE IP>...
Status:Connection established, waiting for welcome message...
Response:220 Microsoft FTP Service
Command:USER <USER NAME>
Response:331 Password required for <USER NAME>.
Command:PASS **********
Response:230 User logged in.
Command:OPTS UTF8 ON
Response:200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status:Connected
Status:Retrieving directory listing...
Command:PWD
Response:257 "/" is current directory.
Command:TYPE I
Response:200 Type set to I.
Command:PORT 100,68,214,39,192,251
Response:501 Server cannot accept argument.
Command:PASV
Response:227 Entering Passive Mode (10,79,50,5,245,119).
Status:Server sent passive reply with unroutable address. Using server address instead.
Command:LIST
Response:150 Opening BINARY mode data connection.
Error:The data connection could not be established: ETIMEDOUT - Connection attempt timed out
Response:550 Data channel timed out.
Error:Failed to retrieve directory listing
Thanks