Windows 7 + 425 Can't open data connection

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
devJarrod
500 Command not understood
Posts: 3
Joined: 2009-10-26 20:51
First name: dev
Last name: Jarrod

Windows 7 + 425 Can't open data connection

#1 Post by devJarrod » 2009-10-26 21:19

Good <timeofdaystamp> to all,

I am using Windows 7 Ultimate and FileZilla Server 0.9.33 beta
I am also using a NETGEAR WGR614V9 Router

In the router, I have forwarded the following ports to the computer that hosts the server:

TCP/UDP: 20-22
TCP/UDP: 60000-60100

In the FileZilla Server Settings I have the following:

General Settings -> Listen on these ports: 21
Passive Mode Setting -> use the following ip: x.selfip.net
Passive Mode Setting -> use custom port range: 60000 - 60100

In the Windows Firewall, after I allowed FileZilla Server, 2 entries were created in the advanced area of the firewall.

One is an UDP rule, the other a TCP rule.

On each of these, the Local Ports and Remote Ports are set to "All Ports" by default.

I can connect to the FTP Server via Internet Browser and FTP Client, but when it attempts to list, I receive the 425 error.

I have read though the guide and am familiar with networking protocols and settings, but I am still not able to iron out this issue.

I have attempted to set the ports in the Windows Firewall rules, but the moment I do so, I am no longer able to connect to the server at all.

PASV mode returned:

Code: Select all

(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> CLNT Testing from http://www.g6ftpserver.com/ftptest from IP 91.89.204.171
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> 200 Don't care
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> FEAT
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> 211-Features:
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  MDTM
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  REST STREAM
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  SIZE
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  MLST type*;size*;modify*;
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  MLSD
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  UTF8
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  CLNT
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)>  MFMT
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> 211 End
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> PASV
(000022) 26.10.2009 22:12:31 - miners (87.98.200.119)> 227 Entering Passive Mode (91,89,204,171,234,130)
(000022) 26.10.2009 22:12:34 - miners (87.98.200.119)> disconnected.
EPSV mode returned:

Code: Select all

000023) 26.10.2009 22:14:23 - miners (87.98.200.119)> 257 "/" is current directory.
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> CLNT Testing from http://www.g6ftpserver.com/ftptest from IP 91.89.204.171
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 200 Don't care
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> FEAT
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 211-Features:
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  MDTM
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  REST STREAM
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  SIZE
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  MLST type*;size*;modify*;
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  MLSD
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  UTF8
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  CLNT
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)>  MFMT
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 211 End
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> EPSV
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 229 Entering Extended Passive Mode (|||60001|)
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> TYPE A
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 200 Type set to A
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> LIST
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 150 Connection accepted
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 226 Transfer OK
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> QUIT
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> 221 Goodbye
(000023) 26.10.2009 22:14:24 - miners (87.98.200.119)> disconnected.
I believe Windows itself may be causing this issue, but am not sure where to correct it.
Any suggestions?
Last edited by devJarrod on 2009-10-28 09:21, edited 1 time in total.

User avatar
botg
Site Admin
Posts: 31808
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Windows 7 + 425 Can't open data connection

#2 Post by botg » 2009-10-26 21:26

Tried disabling Windows firewall?

devJarrod
500 Command not understood
Posts: 3
Joined: 2009-10-26 20:51
First name: dev
Last name: Jarrod

Re: Windows 7 + 425 Can't open data connection

#3 Post by devJarrod » 2009-10-26 21:33

Yes, I have disabled the firewall completely and the messages posted above are still occurring. I have also rebooted the router to make sure the ports are not blocked by the old FTP Server I was using.

User avatar
botg
Site Admin
Posts: 31808
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Windows 7 + 425 Can't open data connection

#4 Post by botg » 2009-10-27 08:41

Those ports are all forwarded?

devJarrod
500 Command not understood
Posts: 3
Joined: 2009-10-26 20:51
First name: dev
Last name: Jarrod

Re: Windows 7 + 425 Can't open data connection

#5 Post by devJarrod » 2009-10-28 09:26

Yes, the ports

TCP/UDP: 20-22
TCP/UDP: 60000-60100

are all forwarded to the server host in the network.

I have re-installed the other FTP server parallel now to make sure I am not having a hardware issue, and that one is running with no issues.

I will see if I can troubleshoot this when I have some more time freed up, and will reply in this thread if I find the problem and solution in order to help anyone else who might have this particular issue.

User avatar
botg
Site Admin
Posts: 31808
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Windows 7 + 425 Can't open data connection

#6 Post by botg » 2009-10-28 09:34

By the way, why did you forward ports 20 and 22?

madmike283
500 Command not understood
Posts: 5
Joined: 2009-10-31 17:04
First name: Mike

Re: Windows 7 + 425 Can't open data connection

#7 Post by madmike283 » 2009-10-31 17:48

Was there any resolution to this problem? I'm having almost the same exact issue.

I'm running Windows 7 Ultimate, FZS, Netgear WGR614 v7.

sav0808
500 Command not understood
Posts: 1
Joined: 2010-08-17 11:39
First name: sav0808
Last name: sav0808

Re: Windows 7 + 425 Can't open data connection

#8 Post by sav0808 » 2010-08-17 11:55

Try this:
FileZilla Server options - Passive Mode Settings - Use the following IP (your FTP-Server IP-address).

nick365
500 Command not understood
Posts: 3
Joined: 2010-11-28 16:46
First name: Nick

Re: Windows 7 + 425 Can't open data connection

#9 Post by nick365 » 2010-11-28 17:04

I have solved this problem for myself and thought you might want to try this. Almost drove me crazy but here goes:

There are 2 firewalls on Windows Server 2008. The one that you manage through Server Manager and Local Security Policy (or IP Filter to further confuse).

See attachment and follow instructions below. This clearly explains what I did below.

1. On the Server. Click on IP Filter icon (Also called Local Policy)
2. Click on "Goto IP Security Policies on Local Computer"
3. Right-CLick on "Packet Filter"
4. You can choose to "Unassign". This allows your other firewall settings to work independently of these settings which might cause confusion. Fixed my problem.
5. OR Click on Properties and see entries.
Default ones should be fine but for some reason my "Block ALL" setting was turned ON. Turn this OFF. Also fixes my problem with passive connections.

Good Luck
Nick
IPFilter.jpg
IPFilter.jpg (81.95 KiB) Viewed 9950 times

Post Reply