Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Active FTP Connection Fails, but Works w

by wfroese » Fri Nov 07, 2014 2:50 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Active FTP Connection Fails, but Works w

by support2 » Fri Nov 07, 2014 2:58 am

Post the Filezilla debug log, and substitute the same IP addresses so we can compare them.
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Fri Nov 07, 2014 3:50 am

no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Fri Nov 07, 2014 4:02 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Active FTP Connection Fails, but Works w

by support2 » Fri Nov 07, 2014 7:28 am

That's unusual behavior. Are you sure there's not a local firewall preventing the server from connecting back to the active port, but with an exception for Filezilla?
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Fri Nov 07, 2014 7:43 am

I turned my firewall off and tried again, with the same result.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Active FTP Connection Fails, but Works w

by support2 » Fri Nov 07, 2014 7:54 am

If you have access to the server logs that might give a clue. Basically, it looks like the server is unable to connect back to the client on that port number. It might help to allocate a large port number range.
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Fri Nov 07, 2014 8:06 am

I just had the same idea and allocated a range of 6000 - 7000. No change with that.
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Sat Nov 08, 2014 12:41 am

Ok, some new information.

I got this to work on my local machine when I didn't specify my public IP. However, my production environment is an Azure virtual machine, for which I will have to specify my public static IP, or else I get the error message "Illegal PORT command".
no avatar
User

wfroese

Posts

7

Joined

Fri Nov 07, 2014 2:15 am

Re: Active FTP Connection Fails, but Works w

by wfroese » Sat Nov 08, 2014 1:25 am

Solved my problem, and all the confusion was probably caused by my giving somewhat inaccurate information (sorry!).

The logs I showed above are from my Azure virtual machine, but then I also mentioned that I had turned the firewall off, which I had done on my local machine. So it eventually worked on my local machine when I fixed the public IP issue, and I now got it to work on the Azure virtual machine by setting up "endpoints" for the required ports in the Azure management portal, as well as creating an inbound rule in the Windows Firewall for traffic on the same ports, that comes from Port 20 on the remote machine.

Sorry for the confusion! Consider this resolved, and thank you for your help!

Who is online

Users browsing this forum: Google [Bot] and 29 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron