IP port configuration for servers with more than one MS SQL instance installed.

Hi,

I'm working on a SQL 2012 standard Server.  It's been running a default instance using a specified IP port for some time fine.

Now I have to install another instance on the same server.

Whats the best way to setup IP port configuration?

SHould I set both to dynamic?  Keep the first set to a specific port and set the new one to dynamic or give that a fixed port too?

We have a number of apps that have been working well with the default SQL server instance running a specific port so I'm not that keen to change it...

(For info, the server has one fixed IP address)

thanks.
jmsjmsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
When I was a full time DBA standard practice was to put each instance on its own port, usually starting at 65001 and working upwards (arbitary starting point really), rather than leaving any instances on the default port.

1434 is used by the SQL Browser Service, so you shouldn't use it for an instance.
0
 
Carl TawnSystems and Integration DeveloperCommented:
If one has a fixed port, i would give the new instance one too.
0
 
jmsjmsAuthor Commented:
OK thanks Carl.  

Is there any best practise or normally used port?  I'm tempted to give it the next port up from the 1433 default but I'm not sure if it's used already.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
jmsjmsAuthor Commented:
If it's not the standard port do you have to put the port in when entering the servername\instance name in sql management studio?
0
 
jmsjmsAuthor Commented:
The answer is no you dont.  I couldnt connect to the new instance until I reset the windows server firewall.
0
 
jmsjmsAuthor Commented:
Thanks for your help.
0
 
Carl TawnSystems and Integration DeveloperCommented:
No problem. Just a quick note - you only need to specify the port if you have the Browser Service disabled, otherwise the browser service will internally resolve the port number for you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.