Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

SQL2008 R2 on Windows 2008 R2 firewall Question

I have just finished installing a SQL 2008 r2 cluster, no errors all looks well

but when i try and start the SQL managemnt studio (on one of the nodes)

it errors saying
A network related or instance-specific error occurred while establishing a connection to SQL server.
The server was not found or was not accessible. Verify the instance name is correct…..
Error: 26 – Error Locating Server/Instance specified (Microsoft SQL Server)

when i start SQL Managent studio if i add, 1433 to the server name it works.

I dont have to do this on othe rsql clusters in diffrent domains, what have i missed?

config manager shows 1433 as default for the Instance im using

Windows firewall was turned off, tried turning it on and adding  135,1433,1434,2383,4022
0
mhamer
Asked:
mhamer
2 Solutions
 
Ryan McCauleyData and Analytics ManagerCommented:
SQL instances on a cluster require you to specify the instance name, even though it's listening on port 1433 (unless you installed the default instance on your cluster, that is). However, when you specify the instance name, SSMS actually connects to the name/ip you've provided on UDP port 1434 and talks to a service called the SQL Browser - it uses this service to get the port information for the instance you're asking about. That's where it gets tricky - if the port your instance is running on is dynamic, your firewall is going to have trouble because it could change any time you start up SQL Server.

You can obviously work around it by specifying the explicit port, as you've done above (give ",1433" after your instance name) - that's the easiest way around it, since that's working now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now