• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk ftp ECONNREFUSED

I have the same problem.

I've checked all things you advised, IgorG.

lsof -i tcp:21 ==> gives no output

What did you do as next step?

Thank you in advance.


Edit: i missed that this is for Plesk 12.x - i have Onyx 17.8.11
Should i start a new thread?
 
Last edited:
Xinetd service could not bind to 21 port when started previously, because the other process was listening that port.
 
Yes, it is all correct configured. Now it works.

The problem in my case was that Plesk doesn't support passive FTP behind of NAT in the same subnet as the FTP-server - but there's already an feature request for this.

As a workaround i commented the last 3 lines out ( /etc/proftpd.d/50-plesk.conf )

Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

# Global section
<Global>
<IfModule mod_tls.c>
    TLSEngine on
    TLSRequired off
</IfModule>
</Global>
# Global section
#<VirtualHost 10.0.2.30>

#MasqueradeAddress 123.456.789.10

#</VirtualHost>

BEFORE
Code:
Status:    Connecting to 10.0.2.30: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 the current directory
Command:    TYPE I
Response:    200 Type set to I
Command:    PASV
Response:    227 Entering Passive Mode (123.456.789.10,247,243).
Command:    MLSD
Error:    The data connection could not be established: ECONNREFUSED - Connection refused by server

AFTER
Code:
Status:    Connecting to 10.0.2.30: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...
Status:    Directory listing of "/" successful
 
Back
Top