Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Sep 5 '11 at 3:58

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

1 Answer 1

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
1  
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

 
discard

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