Solved

SQL Connect to Server error.

Posted on 2016-08-23
6
79 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 42

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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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 42

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how the fundamental information of how to create a table.

690 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