SFTP Connection Error

0 votes
asked Oct 13, 2010 by lav (160 points)
edited Mar 30, 2011

I try to connect SFTP server and i get error "[Rebex.Net.SftpException] = {"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}" Please help

1 Answer

0 votes
answered Oct 13, 2010 by Lukas Pokorny (100,910 points)
edited Oct 13, 2010

This error is thrown when it's not possible to connect to the SFTP server because the server is not responding to our connection attempts. Common causes of this are unreachable server or bad server port (SFTP runs on TCP port 22 by default). Another possible cause is that the server only supports FTP and FTP/SSL which are different protocols and run at different ports (use Rebex FTP/SSL for these).

Are you able to connect to the server using any third-party SFTP client?

...