SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Default and Named Instance
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JazzieG1316
Starting Member

Philippines
3 Posts

Posted - 03/08/2012 :  05:03:58  Show Profile  Reply with Quote
I have a server that have a default instance and several named instance.

Below are the Instances:
SERVER -- <DEFAULT_INSTANCE> -- PORT 1434
SERVER -- INSTANCE1 -- PORT 1433
SERVER -- INSTANCE2 -- PORT 1435
SERVER -- INSTANCE3 -- PORT 1436

When I am connecting remotely to <DEFAULT_INSTANCE>, it instead connect to INSTANCE1. Its either using OSQL or SSMS.

To be able to connect to the default instance, its either I create an alias or specify the port after the server(SERVER,1434).

What is the rationale behind this? Is there a way to connect without specifying the port or creating an alias?

Any explanation would be greatly appreciated

webfred
Flowing Fount of Yak Knowledge

Germany
8513 Posts

Posted - 03/08/2012 :  05:20:22  Show Profile  Visit webfred's Homepage  Reply with Quote
By default, the default instance of SQL Server listens for requests from SQL Server clients on static port 1433.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1765 Posts

Posted - 03/08/2012 :  15:05:38  Show Profile  Visit jackv's Homepage  Reply with Quote
1433 is the IANA SQL socket number. If you run a "nestat -an" from the command line - you'll see something the LISTENING ports , one of them will be 1433.
As webfred said , default instance always listens on static port.
Do you have SQL Server Browser Service on ?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000