Solved

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

Posted on 2014-04-15
7
167 Views
Last Modified: 2014-04-15
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.
0
Comment
Question by:jmsjms
  • 4
  • 3
7 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40001760
If one has a fixed port, i would give the new instance one too.
0
 

Author Comment

by:jmsjms
ID: 40001766
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
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 40001769
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:jmsjms
ID: 40001819
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
 

Author Comment

by:jmsjms
ID: 40001886
The answer is no you dont.  I couldnt connect to the new instance until I reset the windows server firewall.
0
 

Author Closing Comment

by:jmsjms
ID: 40001889
Thanks for your help.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40001936
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

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now