Data connection could not be established

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
KijarGames
500 Command not understood
Posts: 2
Joined: 2018-10-16 09:04
First name: Andrew
Last name: Holloway

Data connection could not be established

#1 Post by KijarGames » 2018-10-16 09:13

Hi, I can't connect to my FTP server from the client using my website URL or IP (which is forwared to my PC for the FTP Server and Apatche), however I can connect to the FTP server when using localhost on the same machine that the server is on, but I want a developer for my website access files on my computer using host "www.kurticlanservers.com" and the accociating account details.

The console log:
Status: Resolving address of www.kurticlanservers.com
Status: Connecting to 60.241.149.140:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
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 (60,241,149,140,243,88)
Command: MLSD
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Response: 425 Can't open data connection for transfer of "/"
Error: Failed to retrieve directory listing
Status: Connection closed by server

I suspect it is a server side issue not a client side, also, my firewall is open to connections coming in and out of the filezilla server and client programs.

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

Re: Data connection could not be established

#2 Post by botg » 2018-10-16 10:12

Most likely a server-side firewall is blocking the data connection.

KijarGames
500 Command not understood
Posts: 2
Joined: 2018-10-16 09:04
First name: Andrew
Last name: Holloway

Re: Data connection could not be established

#3 Post by KijarGames » 2018-10-16 12:24

How do I fix that? Would it be in my windows security center? If so, what do I look for.

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

Re: Data connection could not be established

#4 Post by boco » 2018-10-16 14:43

Please test your server using our https://ftptest.net site. Use the Plain FTP profile.

If the test fails, you need to configure the network and server software for Passive mode operation. Please use the Network Configuration Guide for that (Chapter 3.2). In a nutshell: The defined custom data range in FZ Server, used for data connections, must be forwarded and opened, in addition to the listening port.
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
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Data connection could not be established

#5 Post by boco » 2018-10-17 01:23

(Mod notice: tdesiderio post split and moved to viewtopic.php?f=2&t=49912 for reason: Unrelated problem)

dato
504 Command not implemented
Posts: 8
Joined: 2023-01-24 21:33

Re: Data connection could not be established

#6 Post by dato » 2023-01-24 21:38

I am testing version 1.6.5
Anyone can guide how to disable TLS completely ?
There was setting in version 0.9
Can find that anymore, even purchased server manual...
Dont care about sending data in plain text , more worry about opening ports on firewall.
Thank you in advance!

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

Re: Data connection could not be established

#7 Post by boco » 2023-01-24 21:50

Topic closed, reason: Topic solved, unrelated double post.
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