Article ID: 815146 - Last Review: April 30, 2003 - Revision: 2.5 HOW TO: Configure a .NET-Connected Application and SQL Server to Use an Alternate Port Number for Network CommunicationsOn This PageSUMMARYThis step-by-step article describes how to configure a .NET-connected
application and a computer running Microsoft SQL Server to use an alternate port for network communications. Many recent security breeches have used applications and databases that were configured to use their default port numbers. For example, a worm that searches for vulnerable database servers on the Internet might examine only TCP Port 1433. By default, SQL Server uses this port number. One way to protect your application from automated attacks (such as viruses and worms) is to change the default port numbers that your application and database servers use for communications. Many .NET-connected applications use a SQL Server database. Therefore, you must reconfigure such applications to communicate with a database where the default port number has been changed. This article describes how to change both the port number that a computer running SQL Server uses and the port number that a .NET-connected application uses to communicate with the computer running SQL Server. Change the SQL Server Port NumberThe following section describes the steps to change the default port that a computer running SQL Server monitors for inbound TCP/IP connections:
Change the .NET ConfigurationTo change the port that your .NET-connected applications use to connect to Microsoft SQL Server, follow these steps:
REFERENCES For additional information, click the following article
numbers to view the articles in the Microsoft Knowledge Base: 315736
(http://support.microsoft.com/kb/315736/EN-US/
)
HOW TO: Secure an ASP.NET Application by Using Windows Security
315588
(http://support.microsoft.com/kb/315588/EN-US/
)
HOW TO: Secure
an ASP.NET Application Using Client-Side Certificates
818014
(http://support.microsoft.com/kb/818014/EN-US/
)
HOW TO: Secure Applications That Are Built on the .NET Framework
| Article Translations
|

Back to the top
