Re: IP Address change causes SQL Server to lose connection
From: Maurice Boers (maurice_at_timbersoft.com)
Date: 03/16/04
- Next message: Mike: "backing up SQL server"
- Previous message: Anil Gupte: "IP Address change causes SQL Server to lose connection"
- In reply to: Anil Gupte: "IP Address change causes SQL Server to lose connection"
- Next in thread: Tim Grizzle: "Re: IP Address change causes SQL Server to lose connection"
- Reply: Tim Grizzle: "Re: IP Address change causes SQL Server to lose connection"
- Reply: Anil Gupte: "Re: IP Address change causes SQL Server to lose connection"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 21:39:33 -0800
How about updating the connection strings in the code running on the
websites to reflect the address change?
If this is defined in multiple prgs, I suggest using an alias, IE Instead of
specifing an IP, insert your alias (lets say "sequel"), then map the alias
in the HOSTS. file located at c:\windows\system32\drivers\etc\hosts. (no
extension) Then when your IP changes, just update the hosts file to
reflect the new ip and all your prgs will use the new ip.
You can test what I'm saying by adding the alias to the hosts file, then
open a dos window (click run then type "command"), then type ping <alias>
(ping sequel) - and you will see it respond with the ip you put in the hosts
file.
you'll need to do this on each machine hosting a web site. (an easier way
would be to add a dns entry instead of using the hosts file)
Mo
"Anil Gupte" <anil-news@maxnetwork.com> wrote in message
news:u8$s7JxCEHA.1128@TK2MSFTNGP11.phx.gbl...
> All my websites lose their access to the SQL server when we change the
> primary IP of the machine hosting the SQL Server (MS SQL 7). We are going
> to lose that IP because of an ISP change, so I need a solution quickly.
> Please advise.
>
> I have been able to get it to work by putting the old IP back on as a
> seconday address, but eventually that fix will not work either.
>
> Thanx for your help.
> --
> Anil Gupte
> agupte@nospam.maxnetwork.com
>
>
- Next message: Mike: "backing up SQL server"
- Previous message: Anil Gupte: "IP Address change causes SQL Server to lose connection"
- In reply to: Anil Gupte: "IP Address change causes SQL Server to lose connection"
- Next in thread: Tim Grizzle: "Re: IP Address change causes SQL Server to lose connection"
- Reply: Tim Grizzle: "Re: IP Address change causes SQL Server to lose connection"
- Reply: Anil Gupte: "Re: IP Address change causes SQL Server to lose connection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|