425 Can't open data connection for transfer of "/

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
ptulkens
500 Command not understood
Posts: 5
Joined: 2015-04-05 11:41
First name: Paul
Last name: Tulkens

425 Can't open data connection for transfer of "/

#1 Post by ptulkens » 2020-01-22 16:09

Hi,

I could not get a directory listing when connecting through one ISP but got it without problem when connecting through another ISP (in both cases, the connection was to my sever located in a different network and using the same client on the same machine [lap top]). Could this be due to the fact either the first ISP either blocks some ports or that I requested PROT P "matching exactly" and that the IP addresses of the peer used for for the communication channel and that used for the data transfer did not match exactly ? Incidentally, and just to make sure, which is the peer to consider: my lap top (where the client is), the ISP to which I'm connected, the ISP to which my server is connected, or my server it-self ?

Log of connection that failed
---------------------------------
(000003)22/1/2020 11:07:28 AM - (not logged in) (81.242.0.33)> Connected on port 21, sending welcome message...
(000003)22/1/2020 11:07:28 AM - (not logged in) (81.242.0.33)> 220 Welcome to Bornival...
(000003)22/1/2020 11:07:28 AM - (not logged in) (81.242.0.33)> AUTH TLS
(000003)22/1/2020 11:07:28 AM - (not logged in) (81.242.0.33)> 234 Using authentication type TLS
(000003)22/1/2020 11:07:29 AM - (not logged in) (81.242.0.33)> TLS connection established
(000003)22/1/2020 11:07:29 AM - (not logged in) (81.242.0.33)> USER xxx
(000003)22/1/2020 11:07:29 AM - (not logged in) (81.242.0.33)> 331 Password required for xxx
(000003)22/1/2020 11:07:29 AM - (not logged in) (81.242.0.33)> PASS ************
(000003)22/1/2020 11:07:34 AM - xxx (81.242.0.33)> 230 Logged on
...
(000003)22/1/2020 11:07:34 AM - xxx (81.242.0.33)> PROT P
(000003)22/1/2020 11:07:34 AM - xxx (81.242.0.33)> 200 Protection level set to P
...
(000003)22/1/2020 11:07:35 AM - xxx (81.242.0.33)> PASV
(000003)22/1/2020 11:07:35 AM - xxx (81.242.0.33)> 227 Entering Passive Mode (79,xxx,xxx,227,117,83)
(000003)22/1/2020 11:07:35 AM - xxx (81.242.0.33)> MLSD
(000003)22/1/2020 11:07:45 AM - xxx (81.242.0.33)> 425 Can't open data connection for transfer of "/"
(000003)22/1/2020 11:07:53 AM - xxx (81.242.0.33)> disconnected.

The port requested is 117*256+83= 30035 (which is within the range defined [30000-30103] and port forwarded by the NAT router beyond which my server is.

Log of connection that worked
-----------------------------------

(000007)22/1/2020 12:02:20 PM - (not logged in) (195.244.180.220)> Connected on port 21, sending welcome message...
(000007)22/1/2020 12:02:20 PM - (not logged in) (195.244.180.220)> 220 Welcome to Bornival...
(000007)22/1/2020 12:02:20 PM - (not logged in) (195.244.180.220)> AUTH TLS
(000007)22/1/2020 12:02:20 PM - (not logged in) (195.244.180.220)> 234 Using authentication type TLS
(000007)22/1/2020 12:02:23 PM - (not logged in) (195.244.180.220)> TLS connection established
(000007)22/1/2020 12:02:29 PM - (not logged in) (195.244.180.220)> USER xxx
(000007)22/1/2020 12:02:29 PM - (not logged in) (195.244.180.220)> 331 Password required for xxx
(000007)22/1/2020 12:02:48 PM - (not logged in) (195.244.180.220)> PASS ************

(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> PROT P
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> 200 Protection level set to P

(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> PASV
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> 227 Entering Passive Mode (79,xxx,xxx,227,117,111)
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> MLSD
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> 150 Opening data channel for directory listing of "/"
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> TLS connection for data connection established
(000007)22/1/2020 12:02:49 PM - xxx (195.244.180.220)> 226 Successfully transferred "/"

The port requested is 117*256+111=30063 (also within defined range [see above])

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

Re: 425 Can't open data connection for transfer of "/

#2 Post by botg » 2020-01-23 08:12

Which version of FileZilla Server are you using?

What client software (product and version) are you using?

Is it always failing on this particular port?

Post Reply