Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

  • Thanks 1
Posted
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.
  • 2 weeks later...
  • 1 year later...
  • 7 months later...
Posted

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

  • 1 year later...
Posted

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?

  • 2 weeks later...
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...