Re: SQL Server 2008 remote connection problem
- From: "Rick Byham, \(MSFT\)" <rickbyh@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Jan 2009 07:56:27 -0800
The default (un-named) instance should install with the fixed port 1433. There are unusual ways that it can choose dynamic ports. If port 1433 is taken by something else at the time of install. For instance an existing named instance that already has port 1433. Or if the new install is SQL Server Express and you are installing it with the name MSSQLSERVER which makes it the default instance, but Express still does dynamic ports (I think). These are all rare situations though.
Perhaps this is an artifact of a previous installation.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.
"Glenn" <Glenn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:45E6AA10-CBD3-41AA-B9BD-9B4674CA255D@xxxxxxxxxxxxxxxx
It was the default instance, which is why I quoted that line from the docs.
"Sylvain Lafontaine" wrote:
Is this the default instance or a named instance?
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Glenn" <Glenn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:95C72A87-8260-4C07-B6D6-491D03D4359E@xxxxxxxxxxxxxxxx
> That directly contradicts the documentation, which states "If enabled, > the
> default instance of the SQL Server Database Engine listens on TCP port
> 1433",
> as well as this article on how to set up ports:
> http://msdn.microsoft.com/en-us/library/cc646023.aspx
>
> So how is anyone supposed to figure this out? Stuff like this bugs the
> hell
> out of me.
>
>
> "William Vaughn (MVP)" wrote:
>
>> Yup, by design. Since SQL Server 2000, you can install multiple >> instances
>> of
>> the engine. Each has to listen on its own ports and that port mapping >> and
>> exposure are handled differently in each version since. In SQL Server
>> 2005
>> and 2008 the SQL Browser plays a new role that exposes the server to >> the
>> network and translates the ports in use to facilitate the connection.
>> However, since the ports are assigned dynamically (unless disabled), >> you
>> can't tell the firewall to pass through IO on a specific port. What >> you
>> ended up doing, is fairly typical. Consider that most sites don't >> expose
>> SQL
>> Server outside of the domain and intra-domain firewalls are sometimes
>> unnecessary.
>>
>> hth
>>
>> -- >> __________________________________________________________________________
>> William R. Vaughn
>> President and Founder Beta V Corporation
>> Author, Mentor, Dad, Grandpa
>> Microsoft MVP
>> (425) 556-9205 (Pacific time)
>> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
>> http://betav.com http://betav.com/blog/billva
>> ____________________________________________________________________________________________
>>
>>
>>
>> "Glenn" <Glenn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:1B595984-3AC4-42A2-88A9-07004341A576@xxxxxxxxxxxxxxxx
>> > I was trying to establish a remote connection to SQL Server 2008 >> > from
>> > another
>> > machine on my network. The server is running the XP firewall. I >> > thought
>> > I
>> > had
>> > everything set up correctly on the server (TCP/IP enabled, remote
>> > connections
>> > enabled, TCP port 1433 enabled on the firewall). The remote >> > connection
>> > repeatedly failed. Based on some information I found on another >> > forum,
>> > I
>> > set
>> > up an exception in the firewall for the SQL Server program
>> > (sqlserver.exe)
>> > and then the remote connection worked. I also got some advice to >> > check
>> > the
>> > settings on the TCP/IP Properties dialog in the SQL Server
>> > Configuration
>> > Manager. Here is a screen shot of that dialog with the original
>> > settings:
>> > http://www.galcott.com/tcp.jpg. This does not show port 1433 at all. >> > By
>> > removing the dynamic port settings and putting 1433 in manually I >> > was
>> > able
>> > to
>> > get it to work. But why was it set up like this on installation? >> > 1433
>> > has
>> > always been the default port in previous versions but it doesn't >> > appear
>> > that
>> > 2008 sets it up that way. It seems that something has changed in >> > this
>> > version
>> > to make it more difficult to set up but I wonder if I am missing
>> > something.
>> >
>> >
.
- References:
- SQL Server 2008 remote connection problem
- From: Glenn
- Re: SQL Server 2008 remote connection problem
- From: William Vaughn \(MVP\)
- Re: SQL Server 2008 remote connection problem
- From: Glenn
- Re: SQL Server 2008 remote connection problem
- From: Sylvain Lafontaine
- Re: SQL Server 2008 remote connection problem
- From: Glenn
- SQL Server 2008 remote connection problem
- Prev by Date: Re: SQL Server 2008 remote connection problem
- Next by Date: osql works; linked server failed.
- Previous by thread: Re: SQL Server 2008 remote connection problem
- Next by thread: Re: SQL Server 2008 remote connection problem
- Index(es):
Relevant Pages
|
Loading