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
Flexepin | Buy your digital code online
How to Import & Export SSL Certificates in IIS 7
Omega Pizza-Roast Beef -Seafood Middleton Menu
Drury Inn & Suites Bowling Green
How Much Does Dr Pol Charge To Deliver A Calf
The 10 Best Restaurants In Freiburg Germany
Fort Carson Cif Phone Number
RuneScape guide: Capsarius soul farming made easy
Aces Fmc Charting
Umn Pay Calendar
Self-guided tour (for students) – Teaching & Learning Support
[2024] How to watch Sound of Freedom on Hulu
Call Follower Osrs
Valentina Gonzalez Leaked Videos And Images - EroThots
litter - tłumaczenie słowa – słownik angielsko-polski Ling.pl
Jessica Renee Johnson Update 2023
W303 Tarkov
Echo & the Bunnymen - Lips Like Sugar Lyrics
Nebraska Furniture Tables
272482061
Commodore Beach Club Live Cam
Aspen Mobile Login Help
97226 Zip Code
Aaa Saugus Ma Appointment
Joan M. Wallace - Baker Swan Funeral Home
Magic Seaweed Daytona
Wkow Weather Radar
Kingdom Tattoo Ithaca Mi
Happy Homebodies Breakup
Costco Gas Hours St Cloud Mn
California Online Traffic School
Tinyzonehd
Google Flights To Orlando
Mawal Gameroom Download
Downloahub
My Dog Ate A 5Mg Flexeril
Promatch Parts
Grand Teton Pellet Stove Control Board
How to Use Craigslist (with Pictures) - wikiHow
Pokemmo Level Caps
Imperialism Flocabulary Quiz Answers
How To Upgrade Stamina In Blox Fruits
Let's co-sleep on it: How I became the mom I swore I'd never be
Go Bananas Wareham Ma
Exploring the Digital Marketplace: A Guide to Craigslist Miami
Wolf Of Wallstreet 123 Movies
City Of Irving Tx Jail In-Custody List
Mmastreams.com
Secondary Math 2 Module 3 Answers
Philasd Zimbra
Southern Blotting: Principle, Steps, Applications | Microbe Online
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.