0 votes
by (120 points)
edited

I am using Rebex SFTP to connect to a remote machine. I get the following error "No connection could be made because the target machine actively refused it."

Could you help me on how to setup a connection to the remote server. Or to setup a user for authentication.

Applies to: Rebex SFTP

1 Answer

0 votes
by (144k points)
edited

This exception usually occurs when there is no SSH/SFTP service listening at the remote machine. For example, if the machine only runs an FTP or FTP/SSL server at port 21, you would get this exception when trying to connect to SSH/SFTP's port 22.

...