How do I fix Putty connection refused?
Daniel Johnson
Published Feb 09, 2026
How do I fix Putty connection refused?
If a network error show with Connection Refused message, make sure that the server is configured, check if the port used is the same as your setup or look at your firewall and make sure PuTTY is not blocked.
How do I resolve a fatal error in Putty?
If this error occurs, it is because Putty is not configured to allow agent forwarding. To enable it, open Putty and go to Connection > SSH > Auth, then click “Allow agent forwarding” and save the settings. For more information, please refer to the following section of the documentation.
Why does Connection get refused?
In general, connection refused errors are generated during a connect system call when an application attempts to connect using TCP to a server port which is not open. A service error, such as where the service that should be listening on a port has crashed or is otherwise unavailable.
Why is my port connection refused?
Connection refused means that the port you are trying to connect to is not actually open. So either you are connecting to the wrong IP address, or to the wrong port, or the server is listening on the wrong port, or is not actually running.
Why PuTTY is not opening?
PuTTY error unable to open connection occurs mainly when the hostname fails to resolve to correct IP address. At Bobcares, we often get requests regarding Putty, as a part of our Server Management Services.
Can’t connect to remote host connection refused connect?
One of the most likely reasons is that the telnet service isn’t installed on the machine the user is trying to connect. Telnetd is the daemon that supports Telnet protocol. Otherwise, there’s no daemon to answer the telnet connection from source and results in this error.
How do I stop PuTTY from disconnecting?
How to keep PuTTY SSH Connection alive
- Open PuTTY.
- Enter session details like Hostname or IP Address.
- click on Category and click on connection as shown below.
- Under Sending of null packets to keep session active, in the seconds between Keepalives, type 60.
- Now you are ready to connect.
Can agree a key exchange algorithm?
The Couldn’t agree a key exchange algorithm is expected behavior with older version of PuTTy or PuTTy integrated solutions like WInSCP. To resolve this issue, upgrade PuTTy to a version to 0.65 or later from
How do I fix refused connection?
To try and resolve the ERR_CONNECTION_REFUSED message, you can:
- Check to see whether the page itself has gone down.
- Restart your router.
- Clear your browser’s cache.
- Assess your proxy settings and adjust them as needed.
- Temporarily disable antivirus and firewall software.
- Flush your DNS cache.
- Change your DNS address.
How do I resolve connection timeout in putty?
The solution of this issue is to change the IP of Linux machine to the same range on which local host is running. We can see the connection interface name is ens33 from above screenshot. Next step is to connect to Linux machine and set the new IP for this connection interface name. Run below command to get this done.
Can you see port Connection Refused?
Some people have reported that they see the message’s connection refused. When trying to use the Can You See Me program. You should note that this error code also indicates that your channel is being blocked due to some reason. It is the same as a closed port and the troubleshooting for it should be the same.
How do you troubleshoot PuTTY?
Troubleshooting PuTTY
- Open the PuTTY general configuration.
- In the left Category list section, select Window > Translation.
- In the dropdown for Remote character set: choose UTF-8.
- Go back to the ‘Session’ category and make sure to save your current session with all settings.