问题
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