?
Solved

Configuring MS SQL Server to listen on a specific port and IP Address

Posted on 2012-04-11
3
Medium Priority
?
317 Views
Last Modified: 2012-04-22
Hi Experts,

I've two instances on DB Server and I want to configure each instance with a specific IP address and port. Can anybody direct to me a good link or solution? Below is the example

InstA      IP:X.X.X.45
InstB      IP:X.X.X.46

I've already check SQL Server configuration utility and under SQL Network settings for TCP/IP protocol IP Address I've IP1,2,3,4,5,6 and IP All and I need to know which one I need to configure. (The loop back address 127.0.0.1 is on IPv4)

Thanks.
0
Comment
Question by:Samoin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 1350 total points
ID: 37834015
0
 
LVL 40

Assisted Solution

by:lcohan
lcohan earned 1350 total points
ID: 37834022
And this for an instance:

"How to configure an instance of SQL Server to listen on a specific TCP port or dynamic port"
http://support.microsoft.com/kb/823938
0
 
LVL 15

Assisted Solution

by:Deepak Chauhan
Deepak Chauhan earned 150 total points
ID: 37834386
Create another tcp endpoint  using this sample script.

CREATE ENDPOINT sql_endpoint
    STATE = STARTED
AS TCP (LISTENER_PORT = 1500, LISTENER_IP = ALL)
      FOR TSQL ()

grant permission to public role >>

grant CONNECT ON ENDPOINT::[sql_endpoint] to [public]

add port in tcpip protocol in ipall section like tcp port=1433,1500

stop sql browser service

now your configured instance listen only on  port 1500 because default tcp ip endpoint  permission will automatically revoke from user when you grant permission on newer endpoint.

for detailed information u can throughout the above links
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question