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
How To Buy A House: Your Step-By-Step Guide To Buying In 2024
Here's how to successfully share a cottage
Jordanbush Only Fans
Tyson Employee Paperless
How To Do A Springboard Attack In Wwe 2K22
Www.politicser.com Pepperboy News
Boomerang Media Group: Quality Media Solutions
Sissy Transformation Guide | Venus Sissy Training
Stl Craiglist
Craigslist Nj North Cars By Owner
Mail Healthcare Uiowa
Atrium Shift Select
Scentsy Dashboard Log In
De Leerling Watch Online
Mission Impossible 7 Showtimes Near Regal Bridgeport Village
Caresha Please Discount Code
People Portal Loma Linda
Busted Newspaper S Randolph County Dirt The Press As Pawns
Christina Khalil Forum
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Abortion Bans Have Delayed Emergency Medical Care. In Georgia, Experts Say This Mother’s Death Was Preventable.
24 Hour Drive Thru Car Wash Near Me
Vigoro Mulch Safe For Dogs
Hermitcraft Texture Pack
Milanka Kudel Telegram
Aerocareusa Hmebillpay Com
Soulstone Survivors Igg
Minnick Funeral Home West Point Nebraska
All Obituaries | Gateway-Forest Lawn Funeral Home | Lake City FL funeral home and cremation Lake City FL funeral home and cremation
Chicago Based Pizza Chain Familiarly
Arlington Museum of Art to show shining, shimmering, splendid costumes from Disney Archives
Rainfall Map Oklahoma
Spirited Showtimes Near Marcus Twin Creek Cinema
County Cricket Championship, day one - scores, radio commentary & live text
Swimgs Yuzzle Wuzzle Yups Wits Sadie Plant Tune 3 Tabs Winnie The Pooh Halloween Bob The Builder Christmas Autumns Cow Dog Pig Tim Cook’s Birthday Buff Work It Out Wombats Pineview Playtime Chronicles Day Of The Dead The Alpha Baa Baa Twinkle
Ofw Pinoy Channel Su
Kattis-Solutions
Ewwwww Gif
Ticketmaster Lion King Chicago
Giantess Feet Deviantart
Barber Gym Quantico Hours
Beaufort SC Mugshots
Tunica Inmate Roster Release
Bekkenpijn: oorzaken en symptomen van pijn in het bekken
Best Haircut Shop Near Me
Go Nutrients Intestinal Edge Reviews
Advance Auto.parts Near Me
Plumfund Reviews
CPM Homework Help
Mytmoclaim Tracking
The Significance Of The Haitian Revolution Was That It Weegy
Arre St Wv Srj
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.