Solved

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

Posted on 2014-04-15
7
170 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Re-appearing SQL Server Agent jobs 7 30
Dynamic SQL select query 4 38
SQL 2012 clustering 9 13
.NET Enums [Flags] & Bitwise Design Question 6 29
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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…

831 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