Configure the Database Engine to Listen on Multiple TCP Ports - SQL Server (2024)

Table of Contents
In this article See Also
  • Article

Applies to: Configure the Database Engine to Listen on Multiple TCP Ports - SQL Server (1) SQL Server

This topic describes how to configure the Database Engine to listen on multiple TCP ports in SQL Server by using SQL Server Configuration Manager. When TCP/IP is enabled for SQL Server, the Database Engine will listen for incoming connections on a connection point consisting of an IP address and TCP port number.The following procedures create a tabular data stream (TDS) endpoint, so that SQL Server will listen on an additional TCP port.

Possible reasons to create a second TDS endpoint include:

Configuring a TDS endpoint consists of the following steps, which can be done in any order:

  • Create the TDS endpoint for the TCP port, and restore access to the default endpoint if appropriate.

  • Grant access to the endpoint to the desired server principals.

  • Specify the TCP port number for the selected IP address.

For more information about the default Windows firewall settings, and a description of the TCP ports that affect the Database Engine, Analysis Services, Reporting Services, and Integration Services, see Configure the Windows Firewall to Allow SQL Server Access.

To create a TDS endpoint

  • Issue the following statement to create an endpoint named CustomConnection for port 1500 for all available TCP addresses on the server.

    USE master; GO CREATE ENDPOINT [CustomConnection] STATE = STARTED AS TCP (LISTENER_PORT = 1500, LISTENER_IP =ALL) FOR TSQL() ; GO 

When you create a new Transact-SQL endpoint, connect permissions for public are revoked for the default TDS endpoint. If access to the public group is needed for the default endpoint, reapply this permission by using the GRANT CONNECT ON ENDPOINT::[TSQL Default TCP] to [public]; statement.

To grant access to the endpoint

  • Issue the following statement to grant access to the CustomConnection endpoint to the SQLSupport group in the corp domain.

    GRANT CONNECT ON ENDPOINT::[CustomConnection] to [corp\SQLSupport] ; GO 

To configure the SQL Server Database Engine to listen on an additional TCP port

  1. In SQL Server Configuration Manager, expand SQL Server Network Configuration, and then click Protocols for<instance_name>.

  2. Expand Protocols for<instance_name>, and then click TCP/IP.

  3. In the right pane, right-click each disabled IP address that you want to enable, and then click Enable.

  4. Right-click IPAll, and then click Properties.

  5. In the TCP Port box, type the ports that you want the Database Engine to listen on, separated by commas. In our example, if the default port 1433 is listed, type ,1500 so the box reads 1433,1500, and then click OK.

    Note

    If you are not enabling the port on all IP addresses, configure the additional port in the property box for only for the desired address. Then, in the console pane, right-click TCP/IP, click Properties, and in the Listen All box, select No.

  6. In the left pane, click SQL Server Services.

  7. In the right pane, right-click SQL Server<instance_name>, and then click Restart.

    When the Database Engine restarts, the Error log will list the ports on which SQL Server is listening.

To connect to the new endpoint

  • Issue the following statement to connect to the CustomConnection endpoint of the default instance of SQL Server on the server named ACCT, using a trusted connection, and assuming the user is a member of the [corp\SQLSupport] group.

    sqlcmd -SACCT,1500 

See Also

CREATE ENDPOINT (Transact-SQL)
DROP ENDPOINT (Transact-SQL)
GRANT Endpoint Permissions (Transact-SQL)
Map TCP IP Ports to NUMA Nodes (SQL Server)

Configure the Database Engine to Listen on Multiple TCP Ports - SQL Server (2024)
Top Articles
What Is Wireless Encryption and Why Is It Used?
Ending Explained - High on Life Guide - IGN
COLA Takes Effect With Sept. 30 Benefit Payment
THE 10 BEST Women's Retreats in Germany for September 2024
Botanist Workbench Rs3
BULLETIN OF ANIMAL HEALTH AND PRODUCTION IN AFRICA
Aries Auhsd
Bbc 5Live Schedule
Florida (FL) Powerball - Winning Numbers & Results
Craigslist Dog Kennels For Sale
978-0137606801
104 Whiley Road Lancaster Ohio
Playgirl Magazine Cover Template Free
Rachel Griffin Bikini
NHS England » Winter and H2 priorities
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Metro Pcs.near Me
zom 100 mangadex - WebNovel
Vegito Clothes Xenoverse 2
Rs3 Eldritch Crossbow
Ups Drop Off Newton Ks
Dragonvale Valor Dragon
Naval Academy Baseball Roster
Walgreens 8 Mile Dequindre
Kroger Feed Login
CVS Health’s MinuteClinic Introduces New Virtual Care Offering
Creed 3 Showtimes Near Island 16 Cinema De Lux
What we lost when Craigslist shut down its personals section
Healthy Kaiserpermanente Org Sign On
Craigslist Cars And Trucks Mcallen
Verizon TV and Internet Packages
P3P Orthrus With Dodge Slash
Chattanooga Booking Report
Are you ready for some football? Zag Alum Justin Lange Forges Career in NFL
Why Gas Prices Are So High (Published 2022)
Kerry Cassidy Portal
Me Tv Quizzes
How To Upgrade Stamina In Blox Fruits
Arigreyfr
Fool's Paradise Showtimes Near Roxy Stadium 14
Avance Primary Care Morrisville
Shell Gas Stations Prices
Oklahoma City Farm & Garden Craigslist
Dontrell Nelson - 2016 - Football - University of Memphis Athletics
9294027542
Turok: Dinosaur Hunter
Sj Craigs
Spongebob Meme Pic
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
Fahrpläne, Preise und Anbieter von Bookaway
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6312

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.