Solved

SQL Connect to Server error.

Posted on 2016-08-23
6
71 Views
Last Modified: 2016-08-23
I just installed SQL Server 2012 and configured it on a server. From the local server, I can connect. However, using SSMS from another server, I cannot connect to the SQL Server I created. I get the error below.

2016-08-23_14-10-24.png
Being that my background is not to strong in SQL, is there anything I can check to troubleshoot this? Do anything need to be looked at from the Network side of things? If so, I can bring it to the attention of my network team. I can ping the new SQL server from the machine I am using SSMS from. I created the SQL server to run in mixed mode. I tried both Windows and SA account but to no avail. Tried by IP and hostname as well.
0
Comment
Question by:joukiejouk
6 Comments
 
LVL 34

Assisted Solution

by:Brian Crowe
Brian Crowe earned 50 total points
ID: 41767805
Start by checking the Windows firewall settings on the server that you installed the SQL Server instance on.  Turn off the firewall and see if that helps.  If it does then turn the firewall back on (assuming you want it) and add a rule to allow port 1433 traffic.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 41767836
Execute sp_configure on the SQL Server locally and check the value of "remote access".

If you see 0 as the run_value then issue following instructions:

sp_configure 'remote access', 1
RECONFIGURE

More info: https://msdn.microsoft.com/en-us/library/ms188787.aspx

If you've installed SQL Server as a named instance then you should use both IP address and instance name in the login dialog, e.g.

10.10.10.10\MySQLServer

Windows authentication is OK for domain users. If you don't have domain then create SQL users on the SQL server. Connecting as SA remotely requires another config setting (remote admin connections) but it is not recommended.
0
 

Author Comment

by:joukiejouk
ID: 41767890
Is there any way I can check from the SQL GUI?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 150 total points
ID: 41767981
Unfortunately  until you enable TCP/IP you will not be able to use a remote server.  Let me know if you need help with that.
0
 
LVL 41

Accepted Solution

by:
pcelba earned 300 total points
ID: 41767983
What is SQL GUI?

Check it from the SSMS installed on the same machine where the SQL Server is running.
You may use another tool which allows to connect SQL Server locally. BUT if remote access is not enabled you have to do it locally.

You may also follow steps described here: https://support.rackspace.com/how-to/configuring-ms-sql-server-for-remote-access/
and here: http://jeffreypalermo.com/blog/how-to-configure-sql-server-2012-for-remote-network-connections/
0
 

Author Comment

by:joukiejouk
ID: 41768198
I took the following steps to configure the SQL server, and it seems to work. Here are the steps.

1. Enabled TCP/IP
2016-08-23_21-32-47.png
2. In SQL Server Configuration Manager, I input 1433 for all TCP Port in TCP/IP Properties
2016-08-23_21-27-55.png
3. Most importantly, it did not work until I followed the article: http://jeffreypalermo.com/blog/how-to-configure-sql-server-2012-for-remote-network-connections/ , which was to create a Program rule in Inbound  for the firewall.

You guys are the reason why EE is the best IT resource forum! You guys rock!
1

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question