Bobcares

VNC ‘Timed out waiting for the response from the host computer’

by | Apr 18, 2021

Wondering how to fix VNC ‘Timed out waiting for the response from the host computer’? We can help you.

Often Windows user’s come across this error while trying to connect to the computer with a VNC viewer.

Here at Bobcares, we get requests from our customers to fix similar issues as a part of Server Management Services.

Today let’s see how our Support Engineers fix this issue for our customers.

What causes VNC ‘Timed out waiting for the response from the host computer’ error?

A typical time out waiting for response error on VNC looks like the one given below:

VNC Timed out waiting for the response from the host computer

One of the most common causes for this issue is that no response was received from the specified IP address, even to reject the connection.

Steps to fix this error

Following are the steps that our support techs follow to fix this VNC issue.

1. Firstly, we have to check whether the host server is up and online.

We can check this using the following ping and telnet commands:

ping [IP_address]
telnet [IP_address] [port]

2. Then we have to ensure that the antivirus software lists have VNC Server as an exception.

3.  We must also ensure that the default port (5900) that VNC uses is open in our firewall.

With the following command we can check this:

telnet [IP_address] 5900

If it is not connecting, either the port is closed in the server, or our source IP address may be blocked in the server.

We can open port 5900 with the following commands:

sudo /sbin/iptables -I INPUT 1 -p TCP --dport 5900 -j ACCEPT
sudo iptables save

Also, check whether there is any block for our IP address.

4. After that, we need to check whether we can establish a direct connection over the Internet.

5. Finally we can try restarting the VNC server using the following command:

sudo service vncserver restart

[Need assistance? We can help you]

Conclusion

In short, we saw the steps that our Support Engineers follow to fix VNC ‘Timed out waiting for the response from the host computer’ error for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

6 Comments

  1. cui

    good help for me!

    Reply
  2. von

    This worked for me! Couldn’t access VNC until I opened the port. Afterwards, restarted the pi but forgot that I didn’t manage to save the iptable – the command might be “iptable-save” – but I think all is good now. 🙂

    Reply
  3. kym

    Thank you! sir. problem is destoryed.

    Reply
    • Hiba Razak

      We are glad to know that our article was helpful for you 🙂 .

      Reply
  4. Bob

    I want to know how to use “sudo” in Windows. Do I have to write in “cmd”? Or “powershell”?

    Reply
    • Hiba Razak

      In Windows, use “Run as administrator” or “runas” command in Command Prompt or PowerShell for similar functionality to “sudo” in Unix-like systems.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.