Home Guides Glossary

FileZilla Errors: "The Server's Certificate Is Unknown" & ECONNREFUSED

You might receive the following error when trying to connect to your cPanel shared hosting account with FileZilla (image):

The server's certificate is unknown. Please carefully examine the certificate to make sure the server can be trusted.

Proceeding past this error will then generate this error (image):

Error: The data connection could not be established: ECONNREFUSED - Connection refused by server

Solutions

To resolve this error, you must either connect via sFTP or disable TLS in FileZilla's Website Manager.

Connecting via sFTP

This solution applies only to Linux-based hosting accounts (more info).

This solution only works if you're connecting with the primary FTP user.

  1. Enable SSH on your account (Web & Classic / cPanel).
  2. In FileZilla, use the following information to connect:
    Field What to enter...
    Host sftp://your hosting account's IP address (Web & Classic / cPanel)
    Username & Password Your hosting account's username and password
    Port 22
filezilla tls settings

Disabling TLS in the Website Manager

This solution works for any FTP user.

  1. In FileZilla, from the File menu, select Site Manager.
  2. Click New Website.
  3. Complete the following fields, and then click Connect:
    Field What to do...
    Host Enter your hosting account's IP address (Web & Classic / cPanel).
    Protocol Select FTP - File Transfer Protocol.
    Encryption Select Use plain FTP.
    Logon Type Select Normal.
    User & Password Enter your hosting account's username and password.
filezilla tls settings

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy