Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Session.RemoteHost
Sun, Oct 22 2017 6:51 PMPermanent Link

Malcolm Taylor

Following the previous thread I now have a beta C/S running rather more
easily that I expected and it has survived a small, 2-day international
competition.

But I just ran into a small issue with using the RemoteHost property on
the server host.
I chose to use my computer's hostname rather than an IP address when
connecting to the server (on the local machine) and it worked .. mostly.

But on one machine which had VMWarePlayer installed, connecting the
Session picked up one of the VMWare IP addresses (on a different
subnet) and that broke my home-brewed database copy/synchronise
procedure.

Replacing the actual hostname with 'localhost' for the purpose of
connecting to the server on the same host, appears to have fixed my
problem.

Have others run into this issue and is this the correct/best solution?  

Malcolm
Mon, Oct 23 2017 12:43 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< But I just ran into a small issue with using the RemoteHost property on the server host. I chose to use my computer's hostname rather than an IP address when connecting to the server (on the local machine) and it worked .. mostly.

But on one machine which had VMWarePlayer installed, connecting the Session picked up one of the VMWare IP addresses (on a different subnet) and that broke my home-brewed database copy/synchronise procedure. >>

If you want to ensure that you're connecting to the local loopback address, then the guaranteed way to make this happen is to use 127.0.0.1 with the RemoteAddress property. Any time you use the RemoteHost property, you are subject to DNS queries that can be affected by the hosts file as well as the DNS server being used and which records it has access to on the local LAN/machine.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Oct 23 2017 1:40 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:

>
> If you want to ensure that you're connecting to the local loopback
> address, then the guaranteed way to make this happen is to use
> 127.0.0.1 with the RemoteAddress property. Any time you use the
> RemoteHost property, you are subject to DNS queries that can be
> affected by the hosts file as well as the DNS server being used and
> which records it has access to on the local LAN/machine.
>

Thanks Tim.  I have experimented using 'localhost', or a blank hostname
'', or the IP address my app knows.  All appeared to give me a working
connection and my copy/synchronise.

Can I take it that with a blank RemoteHost, the Session will fall back
to the RemoteAddress which I have left defaulting to 127.0.0.1 ?

Malcolm
Mon, Oct 30 2017 3:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

Sorry about the late reply, I completely missed your response...

<< Can I take it that with a blank RemoteHost, the Session will fall back to the RemoteAddress which I have left defaulting to 127.0.0.1 ? >>

That is correct.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Oct 30 2017 4:56 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:

>
> That is correct.

Thanks for that.  
It bears out my beta testing both at sea level in Bonny Scotland and
the rarified atmosphere of Mexico City. Smiley

Malcolm
Fri, Nov 3 2017 1:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< It bears out my beta testing both at sea level in Bonny Scotland and the rarified atmosphere of Mexico City. Smiley>>

Now that's a long flight ! Smile

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Nov 3 2017 5:41 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:
>
> Now that's a long flight ! Smile
>
Fortunately there are tools like TeamViewer and Skype. Smiley
Sat, Nov 4 2017 4:29 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Malcolm


I can understand avoiding Mexico City but Scotland is nice (apart from our politicians but those are horrible everywhere)

Roy Lambert
Mon, Nov 6 2017 3:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< Fortunately there are tools like TeamViewer and Skype. Smiley>>

Yeah, but the margaritas.... Wink

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Nov 7 2017 2:25 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


>Yeah, but the margaritas.... Wink

Errr - we have whisky in Scotland not margaritas

Just thought you should know

Roy
Image