SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Checking for firewall problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

J Trahair
Starting Member

15 Posts

Posted - 02/14/2013 :  09:12:46  Show Profile  Reply with Quote
Hi. I have a SBS server with SQL Express 2008 and a W7 Pro workstation connected on a network. I have repeatedly followed instructions from various sources about enabling the TCP/IP and configuring the Windows firewall for port 1433.

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 that the instance name is correct and that SQL Server is configured to allow remote connections. (provider SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


My app connects to the server when the app is installed on the server, but the app installed on the workstation does not. The connection string is
Data Source=SVR-SBS2011\SHAREPOINT;Initial Catalog=Customers_database;Integrated Security=SSPI


and the sql installation is Windows authenticated.

How can I check that the firewall is allowing access?

Any help gratefully received.

Peter99
Constraint Violating Yak Guru

489 Posts

Posted - 02/15/2013 :  12:19:10  Show Profile  Reply with Quote
At command prompt type:
netstat -an

Then check proto, local address and state column.
proto Local Address State
TCP 0.0.0.1433 Listening

Go to Top of Page

srimami
Posting Yak Master

160 Posts

Posted - 02/17/2013 :  21:32:11  Show Profile  Reply with Quote
Make sure the security port 1433 is open and the IP address where you are running the application is white listed to that of host server.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000