Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection attempt failed with "ECONNREFUSED - Connection refused by server" [closed]

Tags:

filezilla

I am trying to connect to a networked machine's FileZilla server but my FileZilla Client is giving the following error while connecting. The error is:

"Connection attempt failed with ECONNREFUSED - Connection refused by server"

Windows Firewall is turned off on that machine and i had provided the valid credentials in my FTP Client.

Thanks in advance

like image 313
Nomi Khan Avatar asked Oct 02 '12 09:10

Nomi Khan


People also ask

Why am I getting Econnrefused?

The ECONNREFUSED Connection refused by the server error, is a common error returned by the Filezilla FTP client. This error indicates that the user is trying to connect to your server and is unable to connect to the port.

Why my FTP server is not working?

Your firewall could be blocking it. Ensure you have the IP address in your welcome email for hostname (only the numbers; don't add FTP, www, or anything else). Make sure your username and password are the same as your control panel username and password. Some FTP programs require a path to connect.

Why does FileZilla not connect to server?

An incorrect port number can be a reason for getting the error message, could not connect to server in FileZilla. By default, FileZilla has Active mode connections to transfer the files. In Active Mode, the FTP connections are not firewall-friendly and this may lead to connectivity issues.


1 Answers

FTP protocol may be blocked by your ISP firewall, try connecting via SFTP (i.e. use 22 for port num instead of 21 which is simply FTP).

For more information try this link.

like image 168
Llewellyn Collins Avatar answered Sep 21 '22 12:09

Llewellyn Collins