Article ID: 841251 - Last Review: April 18, 2006 - Revision: 3.5 How to enable SQL Server connectivity on Windows XP Service Pack 2INTRODUCTIONThis article describes
how to enable SQL Server connectivity on Windows XP Service Pack 2.
By default, Windows Firewall is enabled on computers that are running Microsoft Windows XP Service Pack 2. Windows Firewall closes ports such as 445 that are used for file and printer sharing to prevent Internet computers from connecting to file and print shares on your computer or to other resources. When SQL Server is configured to listen for incoming client connections by using named pipes over a NetBIOS session, SQL Server communicates over TCP ports and these ports must be open. SQL Server clients that are trying to connect to SQL Server will be not be able to connect until SQL Server is set as an exception in Windows Firewall. To set SQL Server as an exception in Windows Firewall, use the steps that are listed in the "More Information" section. MORE INFORMATIONCreate an exception for each instance of SQL ServerThe following method will open User Datagram Protocol (UDP) port 1434 in addition to the Transmission Control Protocol (TCP) port. If you want to open these ports manually, see the following article in the Microsoft Knowledge Base:841252
(http://support.microsoft.com/kb/841252/
)
How to manually enable TCP/IP on Windows XP Service Pack 2 for SQL Server 2000
Note If you are running multiple instances of SQL Server, you will have to create an exception for each instance.
How to use Multiprotocol Remote Procedure Call (RPC)If you are using Multiprotocol, you must perform the steps in the "Create an exception for each instance of SQL Server" section as well as open the correct TCP ports on Windows Firewall.How to run RPC over TCPWarning 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 run RPC over TCP, follow these steps:
How to use RPC over Named PipesIf you are running RPC over Named Pipes, you must open port 445 on Windows Firewall. To do this, follow these steps:
REFERENCES
For more information about configuring SQL
Server 2000 on 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
APPLIES TO
| Article Translations
|

Back to the top
