Updated November 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
- Download and install the repair tool here.
- Let it scan your computer.
- The tool will then repair your computer.
This error means that the network connection that PuTTY wanted to establish with your server was rejected by the server. This usually happens because the server does not provide the service PuTTY is trying to access.
Check if you are connecting to the correct protocol (SSH, Telnet or Rlogin) and if the port number is correct. If this is not possible, contact your server administrator.
The PuTTY application of Telnet and Secure Shell or SSH terminal emulator provides the user with a simple interface for these relatively advanced Internet functions. Although the application makes great efforts to provide a seamless experience, from time to time server-side errors such as “Connection Refused” can occur. With a little information, PuTTY users can work with server administrators to solve these connection problems.
A PuTTY User Guide that appears on the Quest Software website provides a simple explanation of the “Network Error“: a connection denial problem that PuTTY users may encounter from time to time. According to the manual, this error message appears when the application tries to connect to a server that does not provide the service PuTTY wants to access. If a user tries to connect to a Telnet server using PuTTY, but this server does not support Telnet connections, for example, PuTTY returns a “network error” message: Connection rejected.
Using puttygen for Windows
- Copy the private key (id_rsa) into Windows.
- Launch’PuTTY Key Generator’ (puttygen.exe) and click on the Load button.
- Go to All Files (*.*) and open your private key file created in Ubuntu (id_rsa).
- Enter the passphrase, if any, and click OK. A notification will appear – click OK again.
- Modify the key’s comment and passphrase if you need it and click Save Private Key.
- Save your new.ppk key in a suitable location.
- Use this.ppk key with PuTTY to connect to Ubuntu.
November 2024 Update:
You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:
- Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
- Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
- Step 3 : Click “Repair All” to fix all issues.
Implementation of the correct IP address
It is possible that the IP address you are using is not the one of Raspberry Pi. Therefore, in this step, we will identify the correct IP address and use it for the connection. To do that:
- Click on this link to download the Advanced IP Scanner tool.
Note: This tool is free and can easily be used to identify the IP address. - Click on the”.exe” and follow the on-screen instructions to install it.
- After installation, launch the tool and click on the “Scanner” button.
- Wait until the scanning is finished.
- Check if there is a connection named “RaspberryPi” in the list.
- Otherwise, press “Windows” + “R” and type “ncpa.cpl”.
- Press “Shift” and click on a “LAN” connection and on the current “Wifi” connection.
- Click on the Bridge Connections option to create a bridge.
Execution of a CLI order
It is possible that a configuration error occurred during the Raspberry Pi connection process that prevents you from using the ssh command to connect. It is therefore recommended to connect using the command below.
$ sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server
https://askubuntu.com/questions/899188/network-error-connection-refused-putty
Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here