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
On Windows XP SP2 and newer, there is a built-in firewall. To configure its rules go to Start > Settings > Control Panel > Windows Firewall > Exceptions. There you can add an exception for winscp.exe
.
In ZoneAlarm Pro version 9.1.008.000 [latest version as of Jan 30, 2010], be sure to go into Program Control > Programs, and scroll down to the entry for WinSCP. If there is no entry for WinSCP yet, add it. Then, click “Options”. On the Security tab put a check mark beside “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.