local host vs local address
Wall, John
JWall "at" agric.wa.gov.au
Sat Sep 25 02:01:02 2004
My statement referred mainly to starting up a Windows platform with no
network connected i.e. a dial up situation. VNC SERVER is installed as a
service on startup and thus will not work until you STOP/START the service
once connecting to the network.
John
> ----------
> From: James Weatherall[SMTP:jnw "at" realvnc.com]
> Sent: Friday, 24 September 2004 5:49 PM
> To: 'Wall, John'; 'Ward, Stuart'; 'VNC List'; 'Chris Goodwin'
> Subject: RE: local host vs local address
>
> John at al,
>
> The notion of VNC "binding" to a particular _interface_ is bogus. When
> accepting incoming connections, services "bind" to a particular host _IP
> address_. Like most other services, VNC binds to INADDR_NONE, which means
> it accepts connections via all the host's addresses. If your TCP/IP stack
> is working correctly then this will allow the server to accept connections
> on any valid IP address for the host, regardless of when they were added
> to
> it. The _only_ situation in which VNC Server binds to a specific address
> is
> when accepting connections only from localhost.
>
> Wez @ RealVNC Ltd.
>
>
> > -----Original Message-----
> > From: vnc-list-admin "at" realvnc.com
> > [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Wall, John
> > Sent: 24 September 2004 00:19
> > To: Ward, Stuart; VNC List; 'Chris Goodwin'
> > Subject: RE: local host vs local address
> >
> > Hi Stuart,
> >
> > My experiences with VNC Server re binding are mainly to do
> > with using VNC as a service on a dial up connexion. The
> > binding occurs before you are connected thus you only have
> > your Network Interface Card default IP.
> >
> > Once connected I usually have to Stop & Start the VNC service
> > to rebind.
> >
> > John
> >
> > > ----------
> > > From: Chris Goodwin[SMTP:chris.goodwin "at" sandware.net]
> > > Reply To: Chris Goodwin
> > > Sent: Friday, 24 September 2004 1:18 AM
> > > To: Ward, Stuart; VNC List
> > > Subject: Re: local host vs local address
> > >
> > > Thanks, Stuart, this particular station is still @ SP1,
> > fully patched.
> > >
> > > One note: If I do not register VNC Server as a service
> > during install,
> > > but trigger the manual mode from a shortcut in the Startup
> > folder, it
> > > binds to the correct IP every time. I can only assume that
> > some other
> > > program prevents it from doing so at boot.
> > >
> > > I appreciate any input - thanks for your response, Stuart!
> > >
> > > Chris Goodwin
> > > Sandware Business Systems
> > >
> > > We manage technology so you can manage your business.
> > > http://www.sandware.net
> > > voice: 910.639.3055
> > > ----- Original Message -----
> > > From: "Ward, Stuart" <Wards "at" bmcmask.com>
> > > To: "VNC List" <vnc-list "at" realvnc.com>
> > > Sent: Thursday, September 23, 2004 1:01 PM
> > > Subject: RE: local host vs local address
> > >
> > >
> > > > This may be related to SP2 issue that a recent fix has
> > been put out
> > > > for
> > > by
> > > > MS.
> > > >
> > > > Stu
> > > >
> > > > -----Original Message-----
> > > > From: Chris Goodwin [mailto:chris.goodwin "at" sandware.net]
> > > > Sent: Wednesday, September 22, 2004 1:01 PM
> > > > To: VNC List
> > > > Subject: local host vs local address
> > > >
> > > >
> > > > I have the same issue as the gentleman below. I have
> > WinVNC4 running
> > > > as
> > > a
> > > > service on a XP Home machine. It is behind a Linksys wireless
> > > > router, so
> > > the
> > > > appropriate ports are forwarded to the machine's IP.
> > > >
> > > > My issue has been that intermittently, WinVNC binds to 127.0.0.1,
> > > > then
> > > other
> > > > times binds appropriately to 192.168.1.150. I have successfully
> > > > accessed
> > > the
> > > > machine to perform maintenance, etc., previously, but
> > today WinVNC
> > > > bound
> > > to
> > > > the localhost address, leaving me unable to access it.
> > > >
> > > > To reiterate, the installation works intermittently, but
> > it has worked.
> > > >
> > > > - not set to loopback only
> > > > - wireless LAN connection working normally
> > > > - the machine has been running all day, and I get a "connection
> > > refused",
> > > so
> > > > it's not the IP display update issue
> > > >
> > > > Any other ideas on what would make WinVNC bind to the localhost?
> > > >
> > > > Thanks!
> > > >
> > > > Chris Goodwin
> > > >
> > > > 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
> > > >
> > > > Chris Goodwin
> > > > Sandware Business Systems
> > > >
> > > > We manage technology so you can manage your business.
> > > > http://www.sandware.net
> > > > voice: 910.639.3055
> > > > _______________________________________________
> > > > VNC-List mailing list
> > > > VNC-List "at" realvnc.com
> > > > To remove yourself from the list visit:
> > > > http://www.realvnc.com/mailman/listinfo/vnc-list
> > > >
> > > >
> > > > Confidentiality Notice: The information contained in this e-mail
> > > > and
> > > any
> > > > attachments may be legally privileged and confidential.
> > If you are
> > > > not
> > > an
> > > > intended recipient, you are hereby notified that any
> > dissemination,
> > > > distribution or copying of this e-mail is strictly
> > prohibited. If
> > > > you
> > > have
> > > > received this e-mail in error, please notify the sender and
> > > > permanently delete the e-mail and any attachments
> > immediately. You
> > > > should not
> > > retain,
> > > > copy or use this e-mail or any attachment for any purpose, nor
> > > > disclose
> > > all
> > > > or any part of the contents to any other person.
> > > > _______________________________________________
> > > > 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
> > _______________________________________________
> > VNC-List mailing list
> > VNC-List "at" realvnc.com
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list