• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FTP- ECONNREFUSED - Connection refused by server, after auto-updates

Pedro1

Basic Pleskian
Hi,
after Plesk auto-updates I cannot connect to all my sites in ftp with Filezilla.

The FTP error mesagge I see in Filezilla is:
#Connection attempt failed with "ECONNREFUSED - Connection refused by server".

I have to restart the Apache and Nginx services from Plesk Panell.
And then, restar Xinetd service via SSH terminal with command:
#service xinetd restart

Regars
Pedro
 
Hello:

It didn't work :(
After the first step
Code:
# openssl s_client -connect 127.0.0.1:21 -starttls ftp

I have this error
Code:
connect: Connection refused
connect:errno=111

So, I executed
Code:
service xinetd restart

and after, the first step again
# openssl s_client -connect 127.0.0.1:21 -starttls ftp

Code:
CONNECTED(00000003)
depth=0 CN = server.domain.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = server.domain.com
verify error:num=27:certificate not trusted
verify return:1
depth=0 CN = server.domain.com
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/CN=server.domain.com
i:/C=US/O=thawte, Inc./OU=Domain Validated SSL/CN=thawte DV SSL CA - G2
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIElD...
-----END CERTIFICATE-----
subject=/CN=server.domain.com
issuer=/C=US/O=thawte, Inc./OU=Domain Validated SSL/CN=thawte DV SSL CA - G2
---
No client certificate CA names sent
---
SSL handshake has read 1805 bytes and written 456 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-R...
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-A...
    Session-ID: B329B5...
    Session-ID-ctx:
    Master-Key: 7CA56A...
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1428317601
    Timeout   : 300 (sec)
    Verify return code: 21 (unable to verify the first certificate)
---
220 ProFTPD 1.3.5 Server (ProFTPD) [127.0.0.1]

And followed to the second step
Code:
lftp
lftp :~> set ftp:ssl-force true
lftp :~> connect ftp.example.com
lftp ftp.example.com:~> login <username>

500 LFTP not understood

In other point I have a trusted certificate for my domain. I don't know why it shows that it's not trusted :/

Thanks in advance.
Best regards
 
Hi,
after Plesk auto-updates I cannot connect to all my sites in ftp with Filezilla.

The FTP error mesagge I see in Filezilla is:
#Connection attempt failed with "ECONNREFUSED - Connection refused by server".

I have to restart the Apache and Nginx services from Plesk Panell.
And then, restar Xinetd service via SSH terminal with command:
#service xinetd restart

Regars
Pedro

@Pedro,

Please retry with Filezilla and provide the output for the connection or connection attempts.

This output is probably very helpfull in determining the actual cause of the issue encountered.

Kind regards....
 
Back
Top