Re: unable to connect to sql server remotely
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 16:37:51 -0500
Because that is the only way by default that the clients can know what port to talk to. Since each named instance will get a random port number the browser service returns that to the client when they ask by instance name. To get around that you can fix the port number and hard code that into the connection string.
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Matt" <Matt@xxxxxxxxxxxxxxxxxxxx> wrote in message news:%23n9fVZfMIHA.5040@xxxxxxxxxxxxxxxxxxxxxxx
I figured it out. Once I started the SQL Browser service, I was able to connect to my SQL05 instance using a remote connection. My question is, what does the SQL Browser service have to do with connecting to the SQL 05 instance remotely?
"Matt" <Matt@xxxxxxxxxxxxxxxxxxxx> wrote in message news:uoLB5gdMIHA.4912@xxxxxxxxxxxxxxxxxxxxxxx
Here is my issue. I installed SQL 2005 on one of my servers. Up until 10 minutes ago I was able to connect to the server remotely using SQL Server Management Studio but I was unable connect to the SQL server from the actual server that the SQL 05 instance resides on. Now, I restarted the SQL Server, and DB engine service and now I can connect to the SQL database from the actual server but not remotely. I have it configured to allow remote connections and have it setup to use TCP/IP or Named Pipes and still nothing. I've restarted the db engine service and all of the other SQL services and I still can't connect to it remotely.
Any suggestions on what could be causing this? I get this error when I try to connect remotely:
'An error has occurred while establishing a connection to the server. When connecting SQL Server 2005, this failure may be caused by the fact that under the default settign SQL does not allow remote connections....'
Now I also got that same error message when I logged onto the actual server that the SQL 2005 instance resides. I did fix that and now I'm able to log in to SQL SMS from the actual server but not remotely.
- References:
- unable to connect to sql server remotely
- From: Matt
- Re: unable to connect to sql server remotely
- From: Matt
- unable to connect to sql server remotely
- Prev by Date: Re: unable to connect to sql server remotely
- Next by Date: RE: Can user view objects they only have select permission on?
- Previous by thread: Re: unable to connect to sql server remotely
- Next by thread: RE: Storing Password
- Index(es):
Relevant Pages
|
|