SPUDERMAN
SPUDERMAN

Reputation: 187

FileZilla error Could not connect to server

I was trying to connect to my hosting server and I received the error message as below:-

Status: Connection established, waiting for welcome message...
Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 2 of 50 allowed.
Response:   220-Local time is now 11:40. Server port: 21.
Response:   220-This is a private system - No anonymous login
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 15 minutes of inactivity.
Command:    AUTH TLS
Response:   234 AUTH TLS OK.
Status: Initializing TLS...
Error:  Could not connect to server

I have tried on an off the firewall but still no luck. What could be the reason ? I have also tried with two different servers but it still isn't working.

Upvotes: 7

Views: 107064

Answers (5)

Vincent
Vincent

Reputation: 2169

This happened to me after rekeying my SSL certificate. To fix it I had to rebind the FTP site in IIS with the new SSL certificate.

Upvotes: 0

I-am-developer-9
I-am-developer-9

Reputation: 494

I solved this just by removing port number. Now only by entering host, username, password it successfully connect and give the full directory listing.

Upvotes: 0

Anukriti Sharma
Anukriti Sharma

Reputation: 31

Usually, this error occurs when you have incorrect saved certificates in trustedcerts.xml at your local system. To fix this issue, you will need to remove/rename this certificate file from your system.

The file trustedcerts.xml contains certificates for secure websites that you have told your FileZilla client to trust connections to. This file should not be confused with any certificates you have in use if you use FileZilla as a server as well.

In order to remove a saved certificate from Windows System, navigate to %APPDATA%\FileZilla and delete OR rename the trustedcerts.xml file.

In order to remove a saved certificate from Linux System, navigate to ~/.config/filezilla/ and delete or rename trustedcerts.xml file.

Once you remove or rename this file, you will get the prompt to accept the certificate while you attempt to connect to FTP server through FileZilla. On getting the prompt of certificate, select "Always trust this certificate" and then accept it.

Upvotes: 2

Rockit Rockit
Rockit Rockit

Reputation: 156

In Filezilla Configuration: Site Manager choose Only Use Plain FTP, and Normal access mode

Upvotes: 15

Attila
Attila

Reputation: 1177

I've encountered this problem before when trying to connect to my server. I solved it by going to File > Site Manager... and making sure all the settings in there were okay. Specifically, try these steps:

  1. Make sure the host name is correct
  2. Set the encryption to "Use explicit FTP over TLS if available"
  3. Under the "Transfer Settings" tab, change the transfer mode to "Active"

Upvotes: 4

Related Questions