+ Post New Thread
Results 1 to 12 of 12
Network and Classroom Management Thread, VNC cannot connect to host: Connection refused (10061) in Technical; We have recently started using VNC to access the teachers machines in order to solve little problems that they might ...
  1. #1
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14

    Unhappy VNC cannot connect to host: Connection refused (10061)

    We have recently started using VNC to access the teachers machines in order to solve little problems that they might have, like program installation, and accessing network drives. But when i try to connect to one of the machines i get an error of

    cannot connect to host: Connection refused (10061)
    it is really starting to annony me as i have looked evrywhere for the answer. i am currently using VNC free edition V 4.1

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,945
    Thank Post
    886
    Thanked 1,696 Times in 1,474 Posts
    Blog Entries
    12
    Rep Power
    447
    That normally happens when you have guessed the VNC password wrong to many times.

  3. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    I get that on some machines. It only happens when the remote machine isnt logged on. If the machine has a user logged on VNC connects fine. I cant figure out why I can VNC to the login screen on some, and others it just dumps me out with that error and not display the login screen.

    Try logging onto that machine and trying to vnc again and I bet it works.

    If you find a solution im dying to know.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,945
    Thank Post
    886
    Thanked 1,696 Times in 1,474 Posts
    Blog Entries
    12
    Rep Power
    447
    Have you tried resetting the VNC server service?

    Z

  5. #5


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,690
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    Connection refused simply means that for *whatever* reason it can't connect to the port.

    1) Windows Firewall is a good culprit.
    2) Service not running?
    3) On the local machine itself, try and telnet to localhost on port 5900 to see whether that works.

    We have VNC on all of our machines here and it works 99% of the time.

  6. #6

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    the ones that fail on mine actually get to the password prompt, but drops the connection once the password has been entered. So its a different error than the OP. But still infuriating.

  7. #7
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14
    what i found was i had the host machine set to only accept connections from port 5920 when i was sending out on port 5900, thanks everyone

  8. #8

    Join Date
    Mar 2010
    Location
    stockton
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    hey im having the same problem how do you change it to port 9520

  9. #9

    Join Date
    Mar 2010
    Location
    stockton
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    haha never mind got it

  10. #10

    Join Date
    Oct 2010
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Here is a step by step walk through on how to configure VNC on Windows XP. It describes how to recover from the various errors that are thrown by VNC:
    VNC cannot connect to host: Connection refused (10061):

    *remove the spaces from the url below, I don't have enough points to post url wtf*
    machinesentience.com/ configure_vnc_between_windows_xp_and_windows_7. html

  11. #11


    Join Date
    Jan 2012
    Posts
    2,614
    Thank Post
    934
    Thanked 349 Times in 266 Posts
    Rep Power
    212
    Bump!

    Having a very similar issue here, trying to connect to our BMS server via VNC and getting
    "connect: Connection refused (10061)"

    Using Windows 7, here.
    I have connected to it before without a problem before, only last week actually, just a shortcut on the desktop. Double-click, easy as pie.
    Rebooting the server is out of the question unless it's literally the only thing that will fix it.

    Any suggestions?

  12. #12
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    802
    Thank Post
    82
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    ZenControl.zip

    I tossed a VNC launcher together in VB .Net 4 a while back and we use this for jumping onto teacher's machines for support. In a nutshell, it'll copy the required files to a temp folder in the C drive, create the registry keys on the client machine, register TightVNC as a service, start the service, and automatically connect the viewer from your workstation the teacher's machine. Once the viewer is closed on your machine, the registry keys, service, and files are removed from the teacher's.

    It requires that you have these things configured in the computer you're try to connect to: the remote registry service enabled, port 5900 open on the firewall, remote administration open on the firewall, and Secure Attention Sequence enabled and set to services.

    After that you'll be able to freely connect to client machines with, or without a user logged into them. It's still a little rough around the edges and I plan on rewriting a good portion of it soon. I hope some of you here can make use of this...

SHARE:
+ Post New Thread

Similar Threads

  1. Ultra VNC vs Real VNC
    By rdk in forum Network and Classroom Management
    Replies: 12
    Last Post: 27th October 2010, 03:27 PM
  2. Cannot connect to any VNC or RDP servers
    By sidewinder in forum Mac
    Replies: 3
    Last Post: 3rd August 2008, 06:49 PM
  3. Replies: 2
    Last Post: 8th January 2008, 09:09 AM
  4. VPN connection with internet connection option
    By FN-GM in forum Wireless Networks
    Replies: 6
    Last Post: 29th December 2007, 07:19 PM
  5. Replies: 6
    Last Post: 11th July 2007, 03:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •