Page 1 of 1

Data connection could not be established

Posted: 2018-10-16 09:13
by KijarGames
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.

Re: Data connection could not be established

Posted: 2018-10-16 10:12
by botg
Most likely a server-side firewall is blocking the data connection.

Re: Data connection could not be established

Posted: 2018-10-16 12:24
by KijarGames
How do I fix that? Would it be in my windows security center? If so, what do I look for.

Re: Data connection could not be established

Posted: 2018-10-16 14:43
by boco
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.

Re: Data connection could not be established

Posted: 2018-10-17 01:23
by boco
(Mod notice: tdesiderio post split and moved to viewtopic.php?f=2&t=49912 for reason: Unrelated problem)

Re: Data connection could not be established

Posted: 2023-01-24 21:38
by dato
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!

Re: Data connection could not be established

Posted: 2023-01-24 21:50
by boco
Topic closed, reason: Topic solved, unrelated double post.