article Configuring SQL Server Ports

Related Documentation Version of up.time affected Affected Platforms
Verifying the Configuration of SQL Server Ports
SQL Server Locks
All All

Overview

You can configure an instance of SQL Server to use either static or dynamic ports.

Configuring a Static Port

To configure an instance of SQL Server to use a static port:

  1. Start the Server Network Utility by doing one of the following:
    • Click Start > Programs > Microsoft SQL Server > Server Network Utility.
    • Click Start > Run. In the Open box, type svrnetcn.exe, and then click OK.

      The SQL Server Network Utility dialog box appears.

  2. In the SQL Server Network Utility dialog box, click the General tab.
  3. In the Instance(s) on this server list, select your instance of SQL Server.

    Note: If the TCP/IP protocol is disabled, enable it by clicking TCP/IP in the Disabled Protocols list box, and then clicking Enable.

  4. In the Enabled Protocols list box, click TCP/IP, and then click Properties.

    If TCP/IP protocol is disabled, enable it by clicking TCP/IP in the Disabled Protocols list box, and then clicking Enable.

  5. In the Default port box, type a number for the static port and then click OK.

    The static port that you specify must not be the same as the dynamic port on which your instance of SQL Server is currently listening. For example, if your instance of SQL Server is currently listening on dynamic TCP/IP port 1400, type 1500 for the new static port.

    Note: The static port that you specify must not be the same as the dynamic port on which your instance of SQL Server is currently listening. For example, if your instance of SQL Server is currently listening on dynamic TCP/IP port 1400, type 1500 for the new static port.

  6. Click OK twice.
  7. Restart the instance of SQL Server.
  8. View the SQL Server error logs to verify whether or not the instance of SQL Server is currently using the static port.
Configuring a Dynamic Port

To configure your instance of SQL Server to use a dynamic port:

  1. Start the Server Network Utility by doing one of the following:
    • Click Start > Programs > Microsoft SQL Server > Server Network Utility.
    • Click Start > Run. In the Open box, type svrnetcn.exe, and then click OK.
  2. In the SQL Server Network Utility dialog box, click the General tab.
  3. In the Instance(s) on this server list, select your instance of SQL Server.

    Note: If the TCP/IP protocol is disabled, enable it by clicking TCP/IP in the Disabled Protocols list box, and then clicking Enable.

  4. In the Enabled Protocols list box, click TCP/IP, then click Properties.

    If TCP/IP protocol is disabled, enable it by clicking TCP/IP in the Disabled Protocols list box, and then clicking Enable.

  5. Type 0 in the Default port box, and then click OK.
  6. Click OK twice.
  7. Restart the instance of SQL Server.
  8. View the SQL Server error logs to verify whether the instance of SQL Server is currently using the dynamic port.

    If you have a clustered instance of SQL Server, and you follow the specified steps on a cluster node, you may notice that the TCPDynamicPorts and TCPPort registry values on other cluster nodes retain the old values. When you move the SQL Server group to the corresponding cluster node, and then bring SQL Server online on the cluster node, the registry values on the cluster nodes will reflect the updated values.

Related Articles


Verifying the Configuration of SQL Server Ports

RatingViews
article

By: uptime Support | Date Created: 7-17-2007 | Last Modified: 6-28-2011 | Index: 195

  10585

Required Ports for the up.time Monitoring Station

RatingViews
article

By: uptime Support | Date Created: 10-28-2005 | Last Modified: 6-26-2013 | Index: 021

  8629

Configuring up.time to send alerts with a hosted Exchange server

RatingViews
article

If you are using an online hosted Exchange email server and would like to configure up.time to use this email server, you will also need to set up a local email server to relay the up.time...

By: uptime Support | Date Created: 8-31-2011 | Last Modified: 9-1-2011 | Index: 558

  2187

How to Create and Configure Service Groups

RatingViews
article

By: uptime Support | Date Created: 10-25-2005 | Last Modified: 7-26-2011 | Index: 040

  3606

What ports does up.time use?

RatingViews
article

A full list of the required ports for the up.time monitoring station and agent is included in this article: http://support.uptimesoftware.com/article.php?id=021

By: uptime Support | Date Created: 8-5-2010 | Last Modified: 7-7-2011 | Index: 464

  2420

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement