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
GreenZil
504 Command not implemented
Posts: 6
Joined: 2018-11-25 10:33

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

#1 Post by GreenZil » 2018-11-25 11:11

I have read a lot about this before I post a new topic about this.

see my steps alreday done and my questions on the end of this text.

when I unselect the users list option an then test the connection using ftptest.net, the results appears very quicky and the error in the ftptest.net page is:

Error: Listing failed

Make sure the account has permissions to list directories.

in the log if FileZilla server it ends with

000039)25/11/2018 10:19:45 - nameUser (external ip adres)> 227 Entering Passive Mode (X,X,X,X,234,160)
(000039)25/11/2018 10:19:45 - nameUser (external ip adres)> MLSD
(000039)25/11/2018 10:19:45 - nameUser (external ip adres)> 550 Permission denied.
(000039)25/11/2018 10:19:45 - nameUser (external ip adres)> disconnected.


so port 256*234 +160 = 60064

---

When I select the list option in users, and then redo the test:

the test page ftptest.net results in a equal error as above ony it takes around 12 sec later to appear, so not that quick as when the list option is disabled.

filezilla server log:
(000040)25/11/2018 10:25:24 - nameUser (External IP adres)> 227 Entering Passive Mode ( XXX, ,234,152)
(000040)25/11/2018 10:25:24 - nameUser (External IP adres)> MLSD

this part stays for certain 12 sec and the test page also takes his time and then results in following error

port 60055 is open.


Error: Listing failed

Make sure the account has permissions to list directories.

then the fileZilla logs and with

(000040)25/11/2018 10:25:34 - nameUser (External IP adres)> 425 Can't open data connection for transfer of "/"
(000040)25/11/2018 10:25:34 - nameUser (External IP adres)> disconnected.

so both option list disable or enabled give the same error in the test page, with the difference in the filesever log:

error test page:
Error: Listing failed

Make sure the account has permissions to list directories.

file Zilla LOG:

USER LIST DISABLED

fast result:
(000039)25/11/2018 10:19:45 - nameUser (external ip adres)> 550 Permission denied.
(000039)25/11/2018 10:19:45 - nameUser (external ip adres)> disconnected.

USER LIST ENABLED:


12 sec delay :

(000040)25/11/2018 10:25:24 - nameUser (External IP adres)> 227 Entering Passive Mode ( XXX, ,234,152)
(000040)25/11/2018 10:25:24 - nameUser (External IP adres)> MLSD - 12 sec delay then:
(000040)25/11/2018 10:25:34 - nameUser (External IP adres)> 425 Can't open data connection for transfer of "/"
(000040)25/11/2018 10:25:34 - nameUser (External IP adres)> disconnected.



I assume that the connection is al good (softwarefirewal, firewal of router,..) with with the File Zilla server.
I even disabled all firewalls, same issue.
disabled all security of bitdefender : same issue.
disabled ftp over TLS settings and using plain text to test the connection: same issue.

All these test are done in following network based on a external ip adres that is dynamic but dyndns is configured on the ISP modem with router functionality.

on a laptop, connected with cable on a bridge router , that router is connected to the ISP modem with build in router functionality. it's thsi router that is build in that is active, not the one in the other router(configured as bridge).

ALSO tested:
on a laptop, connected directly with cable the the ISP modem with router functionality.

and then I have a second ISP , cable modem without any routers functionality or build in firewall:
my local ip adress is the external ip adres. so change the host in FileZilla server.

test page finally gives no errors only then the warning:

Your server is working and assorted routers/firewalls have been correctly configured for explicit FTP over TLS as performed by this test. However there have been warnings about compatibility issues, not all users will be able to use your server.

For maximum compatibility, consider resolving these warnings.

Which users it talks about, the one i configured in FileZilla server? If I would give this user to others to use, then I assume it wil be a succesful connection? hmm


so then I switch back to the Modem with router functionality and changed the host in the settings in File Zilla server to the dyndns , back again from start... .

what am I missing on this part? is it possible the ISP blocks ports ? according to their page info only some ports that are not used by fileZilla, even FTP is a standard rule in the firewal settings and pro forward settings of the ISP modem with build in router functionality. Ofcourse the ports needed to transfer are also to be added manually, but even if the firewall is disabled, where all trafice can go , inboud, outbound, still the error persists.

I have read so many articles about this, a solution or two that are presented but do not work for all .. .
I'm not sure where to look. According to the filezilla configuration page, the cause is to be found on the ports that need to be enabled on all firewall.

If someone can tell me with 100% certainity this is the only cause, then I will have to test again all firewals, disable bitdefender and use standard windows firewall, although with this firewall I can't even connect the ftp (port 21), so need to know how to set up the windows firewall? for ports 21 and for the ports 900 (FTP over TLS), and also for the ports that are set in passive mode settings: (100 ports aboven the 60000 are been configured in this setting custom port range).

I assume the ports works as when I disable the list option file zilla test page know it's not accessible. How can it know this if the port is closed? hmm.


Please help, as I want to use the ISP with modem router functionality and not the cable modem, as the first has fiber speed (fiber to the home) ... .
the cable modem is just as a backup ... .

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

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

#2 Post by botg » 2018-11-25 11:25

I assume the ports works as when I disable the list option file zilla test page know it's not accessible.
No, if listing is disabled, FileZilla Server does not care whether there's a data connection when it denies the MLSD command.

If listing is enabled and you the data connection cannot be opened after the MLSD command it means that either the ports aren't being forwarded or that some firewall is preventing the data connection.

GreenZil
504 Command not implemented
Posts: 6
Joined: 2018-11-25 10:33

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

#3 Post by GreenZil » 2018-11-25 16:20

I want to test the Ports using a software that test if Ports are open , when i test the default TLS port ( 900) it tells me that the port is locked , to stop the software that is using it.

FileZilla is closed.

Not sure which software is using the port ... .

Is there a method to find the guilty software ?

GreenZil
504 Command not implemented
Posts: 6
Joined: 2018-11-25 10:33

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

#4 Post by GreenZil » 2018-11-25 17:40

Port was locked as the services of fileZilla were still active.

Finally solved and thanks again for pointing me to find the cause in the portforwarding, the passive mode settings , there in the port range, the ports were not open at all after checking with port check app, then checked firewal from modem with router functionality, configured port forward, and now the test page and he fileZilla log gives good news.
So bitfefender firewall is already ok.



only a warning stays:

already asked this but to repeat it hear:

Your server is working and assorted routers/firewalls have been correctly configured for explicit FTP over TLS as performed by this test. However there have been warnings about compatibility issues, not all users will be able to use your server.

For maximum compatibility, consider resolving these warnings.

Which users it talks about, the one i configured in FileZilla server? If I would give this user to others to use, then I assume it wil be a succesful connection? hmm

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

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

#5 Post by botg » 2018-11-25 18:55

Warnings potentially affect all users connecting to your server. Which warning are you getting?

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

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

#6 Post by boco » 2018-11-25 23:20

Strong guess: The warning about missing IPv6 many users get.

In this case, users connecting only over IPv6 can not access your server. Currently, there are not many, but the numbers will increase in the future, when new IPv4 addresses won't be available anymore.
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

GreenZil
504 Command not implemented
Posts: 6
Joined: 2018-11-25 10:33

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

#7 Post by GreenZil » 2018-11-27 18:36

botg wrote:
2018-11-25 18:55
Warnings potentially affect all users connecting to your server. Which warning are you getting?
Your server is working and assorted routers/firewalls have been correctly configured for explicit FTP over TLS as performed by this test. However there have been warnings about compatibility issues, not all users will be able to use your server.

For maximum compatibility, consider resolving these warnings.

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

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

#8 Post by botg » 2018-11-27 18:41

Yes. But which warnings?

Post Reply