Page 1 of 2

error sftp on altap 2.52 - connection refused

Posted: 17 Feb 2010, 17:52
by jpermana
I tried SFTP with altap salamander 2.52 and got error, while working fine with Altap salamander 2.51.

Any idea why ?? and how to resolve it ??

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 12:47
by Jan Rysavy
Are you using any firewall on your computer? It looks like Salamander is blocked. Could you connect using FTP plugin to our (ALTAP) bookmark?

What about Plugins > Check Version > Check for new versions, does it work?

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 16:11
by jpermana
Hi Jan,

The firewall is Off. Also I was able to FTP to Altap bookmark (both 2.51 and 2.52)

The winscp plugin version is 1.62 for Altap 2.52 and version 1.51 for Altap 2.51.

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 20:47
by Martin Prikryl
Following link describes common causes of this error for WinSCP application. They mostly apply to WinSCP plugin for Altap Salamander, with the only difference being that the plugin does not support FTP protocol.

http://winscp.net/eng/docs/message_connection_refused

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 20:56
by Martin Prikryl
Also, if the link does not help, please post a log files both from 2.52 and 2.51. See logging pane on WinSCP login dialog.

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 21:20
by jpermana
Hi Martin,

Attached comparison Altap 2.52 and Altap 2.51. On Altap 2.51, I tried SFTP, SFTP (allow SCP fallback) and SCP, all works, mean I can connect. On Altap 2.52, none of these configuration work, all with the same result "network error : Connection refused"

How do I get the log file ?

Thanks

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 22:26
by Jan Rysavy
Please setup both WinSCP to create log files:
log.png
log.png (43.32 KiB) Viewed 15092 times

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 22:36
by jpermana
Thanks Jan,

Attached log collected from altap 2.51 and altap 2.52.

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 22:45
by jpermana
Hi Jan, Martin,

I found the problem.

Thanks

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 22:46
by Jan Rysavy
What was the problem?

Re: error sftp on altap 2.52

Posted: 18 Feb 2010, 22:52
by jpermana
can not use localhost, i have to put 127.0.0.1

I just looking at the log, then there's the problem.

Re: error sftp on altap 2.52

Posted: 19 Feb 2010, 09:25
by Ether
I encountered the same problem in another program (on W7x64) just yesterday. The lookup for localhost returns an IPv6 address and an invalid/unusable IPv4 address. In my case, the IPv4 address was 0.0.0.0.

Re: error sftp on altap 2.52 - connection refused

Posted: 19 Feb 2010, 10:48
by Jan Rysavy
Yes, reopening this problem. I can confirm there is problem with WinSCP on x64 Windows 7. localhost is resolved as "::1" instead of "127.0.0.1". It does work in FTP client so it looks to be WinSCP related.

Re: error sftp on altap 2.52 - connection refused

Posted: 09 Mar 2010, 23:56
by jpermana
Hi Jan,

So is this fix on altap 2.52 ?

Re: error sftp on altap 2.52 - connection refused

Posted: 10 Mar 2010, 09:25
by Jan Rysavy
Martin Prikryl, author of WinSCP plugin, is still working on it.