Reputation: 1167
I have used PuTTy.exe for an SSH client. But putty.exe is not working for a 64 bit Windows OS. It works perfectly 32 bit Win OS.
Questions:
Info:
Error:
Network error: Permission denied
Upvotes: 9
Views: 64021
Reputation: 168
Just in case someone comes across the same problem:
At some point I started to receive the following errors when trying to run port forwarding
Event Log: Local port 2001 SOCKS dynamic forwarding failed: Network error: Permission denied
After struggling with that for a while, installed Bitwise SSH where the error would appear as:
Failed to enable SOCKS/HTTP proxy forwarding on 127.0.0.1:2001: Address is already in use; bind() in ListeningSocket::StartListening() failed: Windows error 10013: An attempt was made to access a socket in a way forbidden by its access permissions.
So it was clear that the port is in use - although that didn't show up in CurrPorts. So I resolved that by changing the port number
Upvotes: 2
Reputation: 1167
Oh I found the solution for this problem.
Its due to anti virus (ex: norton).
Anti virus blocks all the network permissions.
So I have disabled all smart firewall and browser protection from anti virus.
it worked fine.
Please disable all third party firewalls too then it will work. It is not 32 and 64 bit issue I think so.
Upvotes: 12
Reputation: 5907
I have McAfee Endpoint Security and I had the same problem. Whenever I try to connect with putty I get "permission denied". In this case, I opened McAfee Endpoint Security, went to "Firewall". In "Firewall" I went to "RULES" and pressed "Add Rule", wrote the rule name and went to the bottom to "Executables". In "Executables" I pressed "Add", then "Browse", and added PUTTY executable. That solved this problem for me.
Upvotes: 2
Reputation: 503
It's usually a firewall problem, especially with third party firewalls, in my case TinyWall for Windows. Simply allow the program access.
Upvotes: 4