How to Repair: Putty Network Error Connection Refused



Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. 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

  1. Copy the private key (id_rsa) into Windows.
  2. Launch’PuTTY Key Generator’ (puttygen.exe) and click on the Load button.
  3. Go to All Files (*.*) and open your private key file created in Ubuntu (id_rsa).
  4. Enter the passphrase, if any, and click OK. A notification will appear – click OK again.
  5. Modify the key’s comment and passphrase if you need it and click Save Private Key.
  6. Save your new.ppk key in a suitable location.
  7. Use this.ppk key with PuTTY to connect to Ubuntu.


April 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.

download



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:

  1. 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.
  2. Click on the”.exe” and follow the on-screen instructions to install it.
  3. After installation, launch the tool and click on the “Scanner” button.
  4. Wait until the scanning is finished.
  5. Check if there is a connection named “RaspberryPi” in the list.
  6. Otherwise, press “Windows” + “R” and type “ncpa.cpl”.
  7. Press “Shift” and click on a “LAN” connection and on the current “Wifi” connection.
  8. 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