Re: How to ensure that client connects to server throug the internet instead of LAN

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Oscar (oku_at_xs4all.nl)
Date: 03/01/04


Date: Mon, 1 Mar 2004 02:56:17 +0100

Hi James,

For testing purposes, the tests are performed from clients within the same
LAN where the database servers resides.
The LAN is connected to the internet by a router and a DSL modem. The test
environment only has one line and DSL modem to connect to the internet and
that's why I can't perform tests with separate lines through separate
modems. I just need to have the router sent the request to the internet
server instead of directly to the same server by means of the LAN.

I think the problem is that the router probably sees that the IP-address is
available within the LAN and therefore doesn't connect the client to the WAN
but directly through the LAN.

Can you please provide an example how to put an Alias entry in the client
config for SQL Server to
 use the internet IP of the machine when referencing it by name

regards,
Oscar

"James Hokes" <noemail@noway.com> schreef in bericht
news:e15XE1x$DHA.624@TK2MSFTNGP11.phx.gbl...
> Oscar,
>
> Are you saying that these users are not using the LAN to access the
> internet?
>
> What is it, a modem connection or something?
>
> You could always put an Alias entry in the client config for SQL Server to
> use the internet IP of the machine when referencing it by name.
>
> James Hokes
>
> "Oscar" <oku@xs4all.nl> wrote in message
> news:40425181$0$122$e4fe514c@dreader8.news.xs4all.nl...
> > I am programming a VB-SQL Server 2K application which connects the
clients
> > to the database through the internet. While I am testing the application
> > within a LAN in which the database server as well as the client connect
to
> > the internet through a router I can't ensure that the client connects to
> the
> > database through the internet. In case I disconnect the internet WAN
> > connection, the application still is able to work. So the connection
must
> be
> > through the LAN I guess. However, after a short while, the application
is
> > not able to work and displays error messages concerning that it could
not
> > establish a connection, which I had expected right after the
> disconnection.
> > Any suggestion how I can ensure that the client within the LAN connects
to
> > the server through the internet ?
> >
> > In the connection I used the following code :
> >
> > DB.Provider = "SQLOLEDB"
> > DB.Properties("Data Source").Value = "80.123.12.123,1433" '"DATASERVER"
> >
> > regards,
> > Oscar
> >
> >
>
>



Relevant Pages

  • Re: RWW Disconnecting
    ... I have been connected from a remote site for about 3 ... DHCP server and even a wireless access ... the key codes to for Internet access. ... Client Workstations} ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW Disconnecting
    ... Server to test the issue. ... I understand that remote client encounts following error message when RWW ... I strongly suggest that we rerun the Configure E-mail and Internet ...
    (microsoft.public.windows.server.sbs)
  • RE: Error.htm when using connectcomputer
    ... On the SBS server, run Set Up Computer Wizard to create all the remote ... Under Client Applications, uncheck everything except ... Start Internet Explorer. ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW Disconnecting
    ... I understand that remote client encounts following error message when RWW ... I strongly suggest that we rerun the Configure E-mail and Internet ... 825763 How to configure Internet access in Windows Small Business Server ...
    (microsoft.public.windows.server.sbs)
  • RE: Firewall Rule Set not allowing access to DNS servers?
    ... > My LAN is configured with static IP addresses, ... > I have full connectivity with the internet from every machine on my ... > # Allow out access to my ISP's Domain name server. ... > # Interrogate packets originating from the public internet ...
    (freebsd-questions)