This is an old revision of the document!
Why is WinSCP not able to connect to a server, when other clients are?
If you are getting an error message like “Connection refused”, “Connection timed out” or “Can’t resolve host name”, it is likely that there is a local firewall set up with per-application rules. The rules may allow the other clients, but not WinSCP.
You may also start getting the error after upgrading WinSCP. Some firewalls check executable file fingerprint. As the executable file changes with upgrade, the firewall starts blocking the executable, although you may have added exception rule for WinSCP already.
Advertisement
Instructions for some common firewalls:
- Built-in firewall of Windows XP SP2 and newer: To configure its rules go to Start > Settings > Control Panel > Windows Firewall > Exceptions. There you can add an exception for
winscp.exe
; - ZoneAlarm Pro: In the firewall configuration go to Program Control > Programs. Add entry for WinSCP, and in Options go to the Security tab and check This program may use other programs to access the Internet and Allow Application Interaction.
For other reasons of getting refused to connect, please read documentation.