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

十年热恋 提交于 2019-12-03 02:34:26

问题


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


回答1:


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.




回答2:


Use port number 22 (for sftp) instead of 21 (normal ftp). Solved this problem for me.




回答3:


I solved this error

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

by changing my port to 22 that was successful




回答4:


For me, I was receiving this error when connecting to the new IP Address I had configured FileZilla to bind to and saved the configuration. After trying all of the other answers unsuccessfully, I decided to connect to the old IP Address to see what came up; lo and behold it responded.

I restarted the FileZilla Windows Service and it immediately came back listening on the correct IP. Pretty elementary, but it cost me some time today as a noob to FZ.

Hopefully this helps someone out in the same predicament.



来源:https://stackoverflow.com/questions/12687900/connection-attempt-failed-with-econnrefused-connection-refused-by-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!