Unable to connect to host (10061)

James Weatherall jnw "at" realvnc.com
Wed Apr 12 09:56:02 2006


Jana,

You are attempting to connect to the VNC server computer directly, rather
than via the SSH tunnel port on the viewer machine.  i.e. on the viewer
machine, enter localhost:2 in the Server field.

Regards,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com 
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Jana Nguyen
> Sent: 11 April 2006 18:30
> To: James Weatherall
> Cc: Andrey Vul; vnc-list "at" realvnc.com
> Subject: Re: Unable to connect to host (10061)
> 
> Hi Wez,
> 
> We using ssh to tunnel VNC traffic.  On the VNC server, I do:
> 
> vncserver -localhost
> 
> On the VNC viewer, I do the ssh tunneling via cygwin:
> 
> ssh -L 5902:localhost:5901 <vnc server ip>
> 
> Then I launch the VNC viewer and enter at the server prompt:
> <vnc server hostname>:1
> 
> I then get connection error.
> 
> Thanks,
> Jana
> 
> On 4/11/06, James Weatherall <jnw "at" realvnc.com> wrote:
> > Hi Jana,
> >
> > Why have you restricted your VNC Server to only accept 
> connections from the
> > local machine?
> >
> > Regards,
> >
> > Wez @ RealVNC Ltd.
> >
> >
> > > -----Original Message-----
> > > From: vnc-list-admin "at" realvnc.com
> > > [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Jana Nguyen
> > > Sent: 10 April 2006 23:01
> > > To: Andrey Vul
> > > Cc: vnc-list "at" realvnc.com
> > > Subject: Re: Unable to connect to host (10061)
> > >
> > > Thanks for the prompt response.
> > >
> > > I have VNC server to listen to 127.0.0.1 which is the loopback
> > > interface only and not the public interface.  Do I need 
> to have the
> > > VNC listen to the public interface as well, if so how?
> > >
> > > [root "at" deep]# netstat -a
> > > Active Internet connections (servers and established)
> > > Proto Recv-Q Send-Q Local Address               Foreign Address
> > >      Stat
> > >       e
> > > tcp        0      0 *:32770                     *:*
> > >      LIST
> > >       EN
> > > tcp        0      0 deep:5801            *:*
> > >      LIST
> > >       EN
> > > tcp        0      0 deep:5901            *:*
> > >      LIST
> > >
> > > On 4/10/06, Andrey Vul <andrey.vul "at" gmail.com> wrote:
> > > > Error means that the remote port on the machine is closed. Try
> > > > port-forwarding your router and configuring your firewall.
> > > I assume you
> > > > have a NAT router (private ip is 192.168.*.*).
> > > > What router are you using, what firewall (for iptables,
> > > google "iptables
> > > > port forwarding" (without quotes), others I need to know
> > > what firewall
> > > > you have). If you don't use ftpd, set vnc to port 21 (ftp)
> > > >
> > > >
> > > > Jana Nguyen wrote:
> > > > > I tried to connect to the vnc server (running on rh
> > > linux) from the
> > > > > vnc viewer (running on windows xp), but I get an error:
> > > > >
> > > > > Unable to connect to host: connection refused(10061).
> > > Which network
> > > > > am I making it listening to, the private or public?
> > > > > _______________________________________________
> > > > > VNC-List mailing list
> > > > > VNC-List "at" realvnc.com
> > > > > To remove yourself from the list visit:
> > > _______________________________________________
> > > VNC-List mailing list
> > > VNC-List "at" realvnc.com
> > > To remove yourself from the list visit:
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit: