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

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.
LVL 1
SamoinAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lcohanDatabase AnalystCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lcohanDatabase AnalystCommented:
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
Deepak ChauhanSQL Server DBACommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.