• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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