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
decayer
500 Command not understood
Posts: 1
Joined: 2011-02-24 22:27

425 Can't open data connection

#1 Post by decayer » 2011-02-24 22:33

Here is what I have done so far:
[*]Firewall Inbound Rule for port 21
[*]Exceptions to the Filezilla server.exe
[*]Port forwarded in my router TCP 21
[*]Also port forwarded in my router TCP/UDP 5000-5100
[*]Set up Passive Mode to use my external static IP
[*]Set up Passive Mode to use custom port range 5000-5100




Latest FileZilla client based outside of the internet trying to connect:

Code: Select all

Status:	Connecting to 173.67.154.197:21...
Status:	Connection established, waiting for welcome message...
Response:	220 Welcome to the FTP!
Command:	USER Adam
Response:	331 Password required for adam
Command:	PASS ********
Response:	230 Logged on
Command:	SYST
Response:	215 UNIX emulated by FileZilla
Command:	FEAT
Response:	211-Features:
Response:	 MDTM
Response:	 REST STREAM
Response:	 SIZE
Response:	 MLST type*;size*;modify*;
Response:	 MLSD
Response:	 UTF8
Response:	 CLNT
Response:	 MFMT
Response:	211 End
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 (173,67,154,197,19,144)
Command:	MLSD
Response:	425 Can't open data connection.
Error:	Failed to retrieve directory listing
Latest FileZilla Server:

Code: Select all

FileZilla Server version 0.9.37 beta
Copyright 2001-2010 by Tim Kosse (tim.kosse@filezilla-project.org)
Connecting to server...
Connected, waiting for authentication
Logged on
(000013)2/24/2011 17:29:34 PM - (not logged in) (71.57.232.216)> Connected, sending welcome message...
(000013)2/24/2011 17:29:34 PM - (not logged in) (71.57.232.216)> 220 Welcome to the FTP!
(000013)2/24/2011 17:29:35 PM - (not logged in) (71.57.232.216)> USER Adam
(000013)2/24/2011 17:29:35 PM - (not logged in) (71.57.232.216)> 331 Password required for adam
(000013)2/24/2011 17:29:35 PM - (not logged in) (71.57.232.216)> PASS ********
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> 230 Logged on
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> PWD
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> 257 "/" is current directory.
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> TYPE I
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> 200 Type set to I
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> PASV
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> 227 Entering Passive Mode (173,67,154,197,19,145)
(000013)2/24/2011 17:29:35 PM - adam (71.57.232.216)> MLSD
(000013)2/24/2011 17:29:45 PM - adam (71.57.232.216)> 425 Can't open data connection.
What have I done wrong? Any help would be greatly appreciated. Running on a Windows machine.

User avatar
boco
Contributor
Posts: 26933
Joined: 2006-05-01 03:28
Location: Germany

Re: 425 Can't open data connection

#2 Post by boco » 2011-02-25 04:16

Did you open the custom port range in your firewall? Also note that FTP uses only TCP.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

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

Re: 425 Can't open data connection

#3 Post by botg » 2011-02-25 07:02

Also, you do not have to forward UDP ports, FTP only uses TCP.

Dantali0n
500 Command not understood
Posts: 1
Joined: 2013-07-18 15:50
First name: corne
Last name: lukken

Re: 425 Can't open data connection

#4 Post by Dantali0n » 2013-07-18 15:52

If I recall correctly FTP also use's a control port which is port 20,
this port I dont see forwarded.

User avatar
boco
Contributor
Posts: 26933
Joined: 2006-05-01 03:28
Location: Germany

Re: 425 Can't open data connection

#5 Post by boco » 2013-07-18 17:46

Port 20 is never used by FTP as an incoming connection, thus it doesn't need to be involved in forwarding actions.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply