local host vs local address,
James Weatherall
jnw "at" realvnc.com
Mon Sep 13 12:27:01 2004
Max,
VNC Server binds to network interfaces in one of two ways. Either:
- It binds to all network interfaces (INADDR_ANY), or
- It binds only to the local loopback interface (127.0.0.1)
If your tray icon says that it has bound to 127.0.0.1 then one of three
things has happened:
- Your machine only has local loopback & no network interface is available
- You have explicitly configured VNC Server to only listen for local
loopback connections
- VNC Server is actually listening on INADDR_ANY, but the tray icon contents
are out of date and reflect a point in time before the network interfaces
had come up. This tray icon behaviour is a known bug. It could cause a
Service-Mode server to show "Not accepting connections" or "127.0.0.1" in
some cases.
I assume that you've tried connecting to the server in spite of the tray
icon's contents and established that it's not accepting connections?
Cheers,
Wez @ RealVNC Ltd.
> In the tray, on the server icon, I can read the IP that is being used.
> so when run as a service it says 127.0.0.1 and my PC cannot
> be reached remotly.
> and when I launch server manually it reads 192.168.0.100 and
> RealVNC works fine.
> I like to use it as a service, as I never know in advance
> when I need to reach my machine ...
>
> -----Message d'origine-----
> De : James Weatherall [mailto:jnw "at" realvnc.com] Envoyi : lundi
> 13 septembre 2004 12:59 @ : 'Big Max Leo';
> vnc-list "at" realvnc.com Objet : RE: local host vs local address,
>
>
> Max,
>
> What precisely do you mean by "takes 127.0.0.1" and "takes
> 192.168.0.100"?
>
> Wez @ RealVNC Ltd.
>
>
> > -----Original Message-----
> > From: Big Max Leo [mailto:bigmax "at" bigmax.org]
> > Sent: 13 September 2004 11:50
> > To: 'James Weatherall'; vnc-list "at" realvnc.com
> > Subject: RE : local host vs local address,
> >
> > It takes the right IP (192.168.0.100 for instance), which is
> > one of the address I "reserved" in the routeur config to
> > assign to one specific machine (associated with MAC address).
> > Real VNC takes 127.0.0.1 when I run it as a service, and
> > takes 192.168.0.100 when I launch it manually :-)
> >
> >
> >
> >
> > -----Message d'origine-----
> > De : James Weatherall [mailto:jnw "at" realvnc.com] Envoyi : lundi
> > 13 septembre 2004 12:45 @ : 'Big Max Leo';
> > vnc-list "at" realvnc.com Objet : RE: local host vs local address,
> >
> >
> > Max,
> >
> > Can you explain precisely what you mean by "takes the right IP"?
> >
> > Wez @ RealVNC Ltd.
> >
> >
> > > -----Original Message-----
> > > From: Big Max Leo [mailto:bigmax "at" bigmax.org]
> > > Sent: 13 September 2004 11:32
> > > To: 'James Weatherall'; vnc-list "at" realvnc.com
> > > Subject: RE : local host vs local address,
> > >
> > > Yes, I have checked.
> > > I just installed another free VNC product and I don't run
> in the pb
> > > : it takes the right IP no matter how you start the
> server (manually
>
> > > or as a
> > > service) as opposed to RealVNC that only takes the right IP
> > > if I start the server manually for some unknown reason.
> > > The problem started after the WIFI router installation, I had
> > > to configure the router to differentiate my 3 machines to
> > > make sure I would access the right one remotly.
> > > I use the router as DHCP server and reserve 3 specifics
> > > address in the range for my 3 machines, (to get the same IP
> > > every time) then I use port forwarding to reach on the right
> > > port with VNC (I give each of the 3 VNC servers a specific
> > > port number)
> > >
> > > Thank you
> > >
> > >
> > > -----Message d'origine-----
> > > De : vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com]
> > > De la part de James Weatherall Envoyi : lundi 13 septembre 2004
> > > 11:57 @ : 'Big Max Leo'; vnc-list "at" realvnc.com Objet : RE:
> local host
>
> > > vs local address,
> > >
> > >
> > > Max(?),
> > >
> > > Have you checked that you don't have "Only accept connections
> > > from the local machine" ticked in the Connections tab of the
> > > VNC Server
> > > (Service-Mode) Options panel?
> > >
> > > Wez @ RealVNC Ltd.
> > >
> > >
> > > > -----Original Message-----
> > > > From: vnc-list-admin "at" realvnc.com
> > [mailto:vnc-list-admin "at" realvnc.com]
> >
> > > > On Behalf Of Big Max Leo
> > > > Sent: 12 September 2004 19:05
> > > > To: vnc-list "at" realvnc.com
> > > > Subject: local host vs local address,
> > > >
> > > > I have been using Real VNC for a while with great success, but I
> > > > changed my config and I am now using a WIFI router that
> > is used as
> > > > DHCP server; I use port forwarding because I have
> > > > 3 PCs that I need to access remotely from time to time ....
> > > >
> > > > Everything would be great BUT, it works ONLY if I start
> > > manually the
> > > > realVNC serveur if I run it as a service, it takes the
> local host
> > > > address 127.0.0.1 and when run manually it takes my lan
> > ip address
> > > > 192.168.0.100 and everything runs fine ...
> > > >
> > > > I can't figure it out.
> > > >
> > > > Big Max Leo
> > > > Queen of the Cyber Jungle
> > > > bigmax "at" bigmax.org
> > > > www.bigmax.org <http://www.bigmax.org/> www.stevepotts.net
> > > > <http://www.stevepotts.net/> Beware : my anti-spam filter
> > > is a little
> > > > too much sometimes ...... and deletes some mail from friends !
> > > > _______________________________________________
> > > > VNC-List mailing list
> > > > VNC-List "at" realvnc.com
> > > > To remove yourself from the list visit:
> > > > http://www.realvnc.com/mailman/listinfo/vnc-list
> > > _______________________________________________
> > > VNC-List mailing list
> > > VNC-List "at" realvnc.com
> > > To remove yourself from the list visit:
> > > http://www.realvnc.com/mailman/listinfo/vnc-list