Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Connecting to SQL instance with no specify port

Author  Topic 

DeepGround
Yak Posting Veteran

73 Posts

Posted - 2011-05-13 : 18:00:45
Hello,

When connecting to a SQL instance that is listening on a port other than the default how is it that I am able to connect to the instance without specifying which port to use in both studio and .net applications?

It is like magic!

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-13 : 18:05:07
The magic is handled by the SQL Browser service: http://msdn.microsoft.com/en-us/library/ms181087.aspx

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

DeepGround
Yak Posting Veteran

73 Posts

Posted - 2011-05-13 : 19:24:16
Oh! Interesting. That's what that thing does. I thought I had it disabled. I guess ill let it keep helping me out though! It seems that may also be the service allowing me to connect to an instance without specifying the instance.
Go to Top of Page
   

- Advertisement -