Fixed: VNC Viewer The Connection Was Refused by The Computer

Feeling exasperated due to the recurring VNC Viewer “The connection was refused by the computer” error? No need to worry, as this post presents three possible solutions to help you rectify the issue.

Ellie

By Ellie / Updated on December 13, 2024

Share this: instagram reddit

VNC Viewer “The connection was refused by the computer”

 

I'm encountering an issue with VNC Viewer, and I'm hoping someone can help me out. When I try to connect to a remote computer using VNC Viewer, I get the following error message: The connection was refused by the computer. If anyone has encountered this issue before or has any suggestions on how to troubleshoot it, I'd greatly appreciate your help.”

- Question from Reddit

The Connection Was Refused by the Computer

VNC Viewer “The connection was refused by the computer” error will prevent you from accessing a remote desktop due to an issue connecting with the remote host when you try to connect through VNC (Virtual Network Computing). The error often occurs when the VNC Server is either not running or not running on the specified port.

How to fix VNC Viewer “The connection was refused by the computer”

Getting the "VNC Viewer connection was refused by the computer" error can be really frustrating. The good news is that you can often fix this problem by trying a few simple solutions. Here, we'll give you three options to help you get past this issue.

Solution 1. Ensure the VNC Server is running

When encountering the "The connection was refused by the computer" in VNC Viewer, the first step is to confirm that the VNC Server is indeed running on the remote computer. Here's how you can do it:

  • Check the remote computer: Log in to the remote computer using another method (like SSH or physical access) and ensure that the VNC Server software is installed and running. You can typically find VNC Server in your system tray or as a background process.
  • Restart VNC Server: If the VNC Server is not running, try restarting it. This can often resolve the issue. You can do this through the VNC Server application or through terminal commands, depending on your operating system.

Solution 2. Configure VNC Server to use specified port

The default VNC port is 5900. Double-check that the VNC Server is set up to use the correct port. If you're making a direct connection and have chosen a port other than the default VNC port (which is 5900), make sure the VNC Server is configured to use the port you've specified.

Open Options in the VNC Server. Then, under Connections, check the port number behind Allow direct VNC connections over TCP and UDP. If you have specified a port other than the default 5900, change 5900 to the specified port.

VNC Options

Solution 3. Try a VNC alternative

If the first two solutions don't resolve the issue, it might be worth considering a VNC alternative remote desktop solution. This highly recommended option is AnyViewer. AnyViewer is a popular free remote desktop software that's known for its ease of use and reliability.

Besides, AnyViewer has the following advantages over VNC:

  • Remote control features: AnyViewer provides advanced remote control features, including file transfer, remote sound, drag-and-drop file sharing, and even the ability to reboot the remote computer in safe mode. VNC offers basic remote control features but may not have as many advanced features as AnyViewer.
  • Security features: AnyViewer emphasizes security and offers features like end-to-end encryption and two-factor authentication for added security. VNC also prioritizes security but may have fewer security features compared to AnyViewer.
  • Screen sharing feature: AnyViewer includes built-in features for screen sharing. VNC primarily focuses on remote desktop access and control.

Starting with AnyViewer is a breeze. Here's how to get going:

Step 1. Begin by installing AnyViewer on your preferred devices.

Download Freeware Win PCs & Servers
Secure Download

Step 2. Lay the foundation by registering and logging in with the same account on both devices.

Log in AnyViewer

Step 3. On your local device, find the target remote computer listed under Devices, and effortlessly initiate connections using the convenient One-click control feature.

Connect to My Devices

★Tips:
By upgrading to a Professional or Enterprise plan, you can unlock a multitude of additional advantages, such as:
Increased device allocation, simplifying one-click control.
Improved file transfer speeds, boosting efficiency.
Secure connections with a privacy mode to protect your data.
High-quality image rendering for an immersive remote experience.
Streamlined device management through group creation in an enterprise context.
...

 

The bottom line

In conclusion, if you're facing the VNC Viewer "The connection was refused by the computer" error, rest assured that there are practical solutions at your disposal. Whether you choose to troubleshoot VNC Server, adjust port settings, or explore the alternative of AnyViewer, you're well-equipped to conquer this challenge and regain control of your remote desktop experience.