Problems connecting

James Weatherall jnw "at" realvnc.com
Thu Dec 11 01:42:01 2003


> So both are listening on display 0 (which is port 5900).
> 
> > but when I try to connect to
> > the computer setup for 5901 I cant connect, no matter which 
> computer it
> > is.
> 
> Because both are listening on display 0 (which is port 5900).
> 
> > Both computers have Static Ip's
> >
> > 192.168.1.101 and 102
> >
> > I have my router currently setup to 5900-5900 -- 192.168.1.101 and
> > 5901-5901 -- 192.168.1.102
> 
> You need to set the 192.168.1.102 machine to display 1 (which 
> is port 5901).

Aha.  William has found the actual problem!

An alternative to his solution is to configure the router:

<wanip>:5900 -> <.....101>:5900
<wanip>:5901 -> <.....102>:5900

Note that although the external ports have changed, the local ports are
both 5900.

Cheers,

Wez