Link to home
Create AccountLog in
Avatar of conorbrophy
conorbrophy

asked on

Specified named instance and browser is running but still need to specify port number.

Just created a standalone SQL Server 2008 R2 instance. However I can only connect to it when I specify the port number even though SQL Server Browser is running.

So I can connect <servername>,<port no,>\<instance_name>

but NOT using <servername>\<instance_name>

Any ideas why that may be?

Regards,

  Conor
Avatar of lcohan
lcohan
Flag of Canada image

You can add an alias name including the port number in SQL Server Configuration Manager:



http://technet.microsoft.com/en-us/library/ms174212.aspx
Avatar of conorbrophy
conorbrophy

ASKER

Hi Icohan,
But why do you need to set up an alias. Surely the SQL Server Browser should take the client connection  in and return back with the the port number automatically so it does not have to be explicitly defined in the client connection?
But then why do we need DNS and host files.....

Did you tried that?

And BTW - you mention ""... I can only connect to it when I specify the port number..." however you don't mention what type of "connection". You mean SSMS, ADO, .NET,....what "connection" you are talking about?
I am currently trying to connect using SSMS.
Regards,
   Conor
ASKER CERTIFIED SOLUTION
Avatar of conorbrophy
conorbrophy

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
.