Solved

SQL Connect to Server error.

Posted on 2016-08-23
6
55 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Read about achieving the basic levels of HRIS security in the workplace.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now