ECONNREFUSED - Connection refused by server

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
rkenes
500 Command not understood
Posts: 2
Joined: 2017-08-17 16:49
First name: Roy
Last name: Kenes

ECONNREFUSED - Connection refused by server

#1 Post by rkenes » 2017-08-17 18:36

Code: Select all

Status:	Resolving address of ftp.texperttechnology.com
Status:	Connecting to 162.144.121.248:21...
Status:	Connection established, waiting for welcome message...
Status:	Initializing TLS...
Status:	Verifying certificate...
Status:	TLS connection established.
Status:	Logged in
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is your current location
Command:	TYPE I
Response:	200 TYPE is now 8-bit binary
Command:	PASV
Response:	227 Entering Passive Mode (162,144,121,248,247,92)
Command:	MLSD
Error:	The data connection could not be established: ECONNREFUSED - Connection refused by server
This is the issue that I am having. I never receive a directory. I am using the config file that the cpanel to my webserver has provided and imported it into filezilla. I even went as far as setting it up in quick connect and manually through the site manager. I have exp with FZ, but have never had this issue. FZ has an exception in my firewall, went through network wizard to confirm and server supports FTP but not SFTP. Any advice would be greatly appreciated, thank you.

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

Re: ECONNREFUSED - Connection refused by server

#2 Post by botg » 2017-08-17 20:09

It could be a server-side issue. Could you please test your server on https://ftptest.net/ ?

rkenes
500 Command not understood
Posts: 2
Joined: 2017-08-17 16:49
First name: Roy
Last name: Kenes

Re: ECONNREFUSED - Connection refused by server

#3 Post by rkenes » 2017-08-18 15:21

Code: Select all

Status: Resolving address of ftp.texperttechnology.com
Status: Connecting to 162.144.121.248
Warning: The entered address does not resolve to an IPv6 address.
Status: Connected, waiting for welcome message...
Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Reply: 220-You are user number 2 of 50 allowed.
Reply: 220-Local time is now 10:20. Server port: 21.
Reply: 220-This is a private system - No anonymous login
Reply: 220-IPv6 connections are also welcome on this server.
Reply: 220 You will be disconnected after 15 minutes of inactivity.
Command: CLNT https://ftptest.net on behalf of 2605:6000:88cc:e600:8da5:fa09:4b5d:4b72
Reply: 530 You aren't logged in
Command: AUTH TLS
Reply: 234 AUTH TLS OK.
Status: Performing TLS handshake...
Status: TLS handshake successful, verifying certificate...
Status: Received 3 certificates from server.
Status: cert[0]: subject='OU=Domain Control Validated,OU=PositiveSSL,CN=fix.fixmycomputerdude.com' issuer='C=US,ST=TX,L=Houston,O=cPanel\5c, Inc.,CN=cPanel\5c, Inc. Certification Authority'
Status: cert[1]: subject='C=US,ST=TX,L=Houston,O=cPanel\5c, Inc.,CN=cPanel\5c, Inc. Certification Authority' issuer='C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Certification Authority'
Status: cert[2]: subject='C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Certification Authority' issuer='C=SE,O=AddTrust AB,OU=AddTrust External TTP Network,CN=AddTrust External CA Root'
Command: USER texperttechno
Reply: 331 User texperttechno OK. Password required
Command: PASS *************
Reply: 230 OK. Current restricted directory is /
Command: SYST
Reply: 215 UNIX Type: L8
Command: FEAT
Reply: 211-Extensions supported:
Reply: EPRT
Reply: IDLE
Reply: MDTM
Reply: SIZE
Reply: MFMT
Reply: REST STREAM
Reply: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Reply: MLSD
Reply: AUTH TLS
Reply: PBSZ
Reply: PROT
Reply: UTF8
Reply: TVFS
Reply: ESTA
Reply: PASV
Reply: EPSV
Reply: SPSV
Reply: ESTP
Reply: 211 End.
Command: PBSZ 0
Reply: 200 PBSZ=0
Command: PROT P
Reply: 200 Data protection level set to "private"
Command: PWD
Reply: 257 "/" is your current location
Status: Current path is /
Command: TYPE I
Reply: 200 TYPE is now 8-bit binary
Command: PASV
Reply: 227 Entering Passive Mode (162,144,121,248,225,242)
Command: MLSD
Error: Could not establish data connection: Connection refused
Results
Error: Could not establish data connection: Connection refused
Make sure to enter the correct server address
Ensure that the server is up and running.
Check your firewall configuration, port 21 needs to be opened.
Check your NAT router configuration, port 21 needs to be forwarded.
In some cases your ISP might block that port. In this case configure the server to use a different port. Contact your ISP for details.

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

Re: ECONNREFUSED - Connection refused by server

#4 Post by botg » 2017-08-19 10:05

Indeed, that's a server-side issue. There's a firewall or misconfigured NAT router preventing the data connection. Please contact your server administrator or server hosting provider for assistance.

Post Reply