SQL Client (SSMS) Connection VPN versus NO VPN - ssms

When I try to connect to SQL Server by SSMS via VPN, it works fine. When I try to connect to the LAN via Ethernet, I get
TITLE: Connect to Server
Cannot connect to AYWCSSQL27\SQLS302, 1984.
------------------------------ ADDITIONAL INFORMATION:
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: TCP
Provider, error: 0 - The wait operation timed out.) (Microsoft SQL
Server, Error: 258)
For help, click:
https://learn.microsoft.com/sql/relational-databases/errors-events/mssqlserver-258-database-engine-error
The wait operation timed out
When I try to open SQL Server 2017 Configuration Manager, I get the following:
Any help would be appreciated.

Related

First login attempt aways fail, second works on SQL Server Azure

I have a SQL Database hosted in azure.
When I try to login, the first attempt always fails, the second works as expected.
The error I receive is
Cannot connect to databasex.database.windows.net.
------------------------------ ADDITIONAL INFORMATION:
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: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
(Microsoft SQL Server, Error: 53)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
Why is this happening and how to solve this?

I get a "connect to sql server" message when running query in visual studio

My sql server service was running fine but just yesterday, I stopped the service to quickly delete some databases it was using and ever since the instance will not run.
Giving me the error;
TITLE: Connect to Server
------------------------------
Cannot connect to master.
------------------------------
ADDITIONAL INFORMATION:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
------------------------------
The network path was not found
I have tried reinstalling sql server 2008 but to no avail.
SQL Server services are all running

Get Database server name of SQL Server without logging in

I'm connecting my SQL Server 2012. But I get below error message, connection failed.
I'm not sure about my server name (I forgot).
Is there anyway to get the database server name, Windows authentication username and password without logging to SQL Server?
Cannot connect to MY-SERVER.
ADDITIONAL INFORMATION:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
use ., localhost or 127.0.0.1 for local server with default instance.

Uploading local sql server tables to a hosting server database

Please, apart from management studio, is there any other tool which can be used to connect to a database on a hosting server online. Because I've tried so many times with management studio with the right credentials but I'm still not able to connect. I've disable all firewalls, made the right configuration but I'm still not able to connect.
when I connect I get this error
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: TCP Provider, error: 0 - No such host is
known.) (Microsoft SQL Server, Error: 11001)

Can Not connect to Remote SQL server named instance with port

Hi All We have a server where we have sql server 2008 as well as SQL server 2005 hosted on port 1444. Using SSMS, I am able to connect to 2008 instance without any problem. But when I try to connect to 2005 instance using following connection settings.
DEVDB1\SQL_2005,1444
SQL server authentication user name and password.
I get following error
"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: TCP
Provider, error: 0 - A Connection attempt failed because the connected
party did not properly respond after a period of time, or established
connection failed because connection host has failed to
respond)(Microsoft SQL Server, Error: 10060)"
I am able to connect to another instance on the same server. but not this.
NOTE: My colleagues are able to connect to this sql server with the same settings. It just does not work from my machine. Me and all my colleagues are working on VPN and have same machine configuration.
Is there any setting that I need to do/check to get successfully connected?
My VPN user profile was restricting access to this perticular port. Once my VPN user profile is matched with those who were able to access, the problem resolved.