Article ID: 841823 - Last Review: December 12, 2006 - Revision: 2.7 How to manually enable TCP/IP for SQL Server 7.0 on a computer that is running Windows XP Service Pack 2Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry INTRODUCTION Microsoft Windows XP Service Pack 2 (SP2) includes Windows
Firewall. Windows Firewall is an enhanced version of Internet Connection
Firewall (ICF). Windows Firewall is a host-based, stateful, filtering firewall
that discards unsolicited incoming traffic through TCP/IP version 4 (IPv4)
connections, and through TCP/IP version 6 (IPv6) connections. By default,
Windows Firewall is enabled on computers that are running Windows XP SP2.
Because Windows Firewall is enabled, Microsoft SQL Server cannot listen to the network, even if it was previously configured to do this. This article describes how to manually enable TCP/IP on computers that are running Microsoft Windows XP Service Pack 2 (SP2) for Microsoft SQL Server 7.0, and how to configure Windows Firewall in Windows XP SP2 to enable SQL Server 7.0 to listen for TCP/IP traffic on a static port. MORE INFORMATIONHow to enable TCP/IP with a static portTo enable TCP/IP connectivity for SQL Server that is listening on a static port, you must first know the number of the port that SQL Server is using. To find the port, either use the Server Network Utility or use the Regkey method.How to use the Server Network Utility to find the port that SQL Server is usingNote To determine what port SQL Server is using, follow these steps on the computer that has the SQL Server 2000 service installed. This method works for a default instance of SQL Server or for a named instance of SQL Server.To determine what port SQL Server is using, follow these steps:
How to use the Regkey method with a default instance to find the port that SQL Server is usingWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To determine what port SQL Server is using for a default instance, follow these steps:
How to use the Regkey method with a named instance to find the port that SQL Server is usingWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To determine what port SQL Server is using for a named instance, follow these steps:
How to configure Windows Firewall for TCPWhen you know what port SQL Server is using, you can follow these steps to configure Windows Firewall and to enable SQL Server to listen on that port.
If you decide to disable the port, you can clear the check box next to your new service. How to configure Windows Firewall for User Datagram Protocol (UDP)SQL Server uses UDP port 1434 to communicate with applications such as Microsoft Visual Basic. If you are running an application that requires connectivity with SQL Server, you will have to enable UDP port 1434 for SQL Server to listen on. To do this, follow these steps:
REFERENCESYou can also
enable connectivity for SQL Server on a computer that is running Windows XP
Service Pack 2 by setting up an exception in Windows Firewall for SQL
Server.
For more information
about how to enable connectivity for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
841251
(http://support.microsoft.com/kb/841251/
)
How
to enable SQL Server connectivity on Windows XP Service Pack 2
You can also enable connectivity for SQL
Server by using a script.
For additional information about using a
script to enable connectivity for SQL Server, click the following article
number to view the article in the Microsoft Knowledge Base: 839980
(http://support.microsoft.com/kb/839980/
)
How to use a script to programmatically open ports for SQL Server to use on systems that are running Windows XP Service Pack 2
For more information about dynamic and static port allocation, and
for steps about how to configure dynamic or static ports on SQL
Server, click the following article number to view the article in the Microsoft Knowledge Base:
823938
(http://support.microsoft.com/kb/823938/
)
How to configure an instance of SQL Server to listen on a specific TCP port or a dynamic port
For
additional information about how to configure SQL Server and Windows XP Service
Pack 2, click the following article number to view the article in the Microsoft
Knowledge Base: 841249
(http://support.microsoft.com/kb/841249/
)
How to configure Windows XP Service Pack 2 for use with SQL Server
| Article Translations
|
Back to the top
