Changing IP address of SQL Server 2008 R2

Changing the IP Address for a machine running SQL Server is not a problem at all. You'll need to restart the SQL Server after changing the IP Address so that the SQL Server will start listening on the new IP address. But that's it.

If no users actually connect to the machine then there's nothing else to do.

If users did connect to the machine they'd need to refresh their DNS cache on their workstations by running "ipconfig /flushdns" or by simply restarting their computers.

Unless you've done something very unusual with the TCP listeners within SQL there's nothing else that needs to be done with SQL Server other than the quick restart.


The only issue I see is if the server is referred to by IP address in any place (Job, Connection string, or other places). That reference will break once the IP changes. In my home lab my one of my SQL Server boxes is on DHCP and can get a different IP address and break things since its referred to by IP (this is intentional unintentional breakage for trouble shooting broken things, Production should use Static IP's).

Changing the IP address is actually my companies plan for disaster recovery (very simple plan). We are a small shop and clustering is more complicated than what we need. So we have 2 servers and if one dies we simply swap the IP addresses of the primary and backup. This works because we reference the specific IP address in every single connection string used in our application and not the server name.


You'll typically be fine if it's a standalone SQL Server - just make sure DNS updates happen quickly enough else users won't be able to get on.

If this is a SQL Cluster however you need to make changes to the failover cluster configuration as well; see Change the IP Address of a Failover Cluster Instance on MSDN for full details.