Solved

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

Posted on 2014-04-15
7
175 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
[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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

734 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