Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I encountered a weird issue with PuTTY on Windows XP:

  1. I downloaded PuTTY.exe (client) and placed it on my desktop. After configuring it, I successfully connected to the server on port 22.

  2. I then closed PuTTY and moved the PuTTY.exe to a new file directory (any other directory); nothing else was changed. The connection now can't be established, PuTTY reports:

    "Network error: connection refused"

  3. When I move PuTTY.exe back to the desktop, it works again.

  4. If I try the same thing on my friend's PC, PuTTY.exe works in all directories; I can place it anywhere and it works.

Why does PuTTY.exe only work in a particular directory on my PC?

Yes PuTTY should work in any directory. I also feel very weired when this happens to me. Somehow I need PuTTY.exe to work in another file directory, so pls help.

I have tried:

  1. uninstall all firewalls/anti-virus in my PC except Windows XP firewall(non-uninstallable)
  2. turn off Windows firewall

but no luck.. I also tried add exceptions of PuTTY.exe(new directory), port22(TCP) and port22(UDP) to the Windows firewall, still doesn't work...

Any other way I can change firewall settings? Or any other way I can debug this issue?

share|improve this question

migrated from Sep 5 '11 at 3:58

This question came from our site for professional and enthusiast programmers.

Just keep it on your desktop?

Try adding an exception for it in your firewall; it happened to me and that fixed it.

share|improve this answer
I agree it sounds like a workstation firewall issue. Putty is standalone, and can be placed in any directory without issue. – gview Sep 5 '11 at 4:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.