SQL Server 2008 R2 remote connection error - database

I am getting an error while trying to connect to SQL Server with public IP.
I tried many things Adding port 1433in firewall but still it is showing the below error.
TITLE: Connect to Server
Cannot connect to XXX.xxx.xx.xx ,1433.
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 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
No connection could be made because the target machine actively refused it

Related

SQL Server database engine remote connection

I have a PC with SQL Server installed.
I have created a VB.NET application to connect to SQL Server.
When I connect the SQL Server from development machine I can access the remote SQL Server database easily without any problem.
But from the client machine when I try to connect the same SQL Server I get an 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance specified)
Firewall is disabled
TCP/IP is enabled
Port 1433 is defined in the same way as on the development PC
I have tried with Ip: port and IP only to access the remote SQL Server database server.

Microsoft SQL Server : error while connecting to local server

Whenever I'm trying to connect SSMS to my computer I get this error:
TITLE: Connect to Server
Cannot connect to NUNA.
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)
The system cannot find the file specified
I'm pretty sure that my computer or server is name is NUNA but it doesn't connect and I get this error. I have tried to stop SQL Server Express in Windows Services, but it doesn't show the SQL Server Express
Did you try restart SQL Server service or try with "."?

SSRS not connecting to Azure SQL

We have our SSRS servers, on-premise. When trying to connect to the Azure SQL DB, it is throwing the following error when not using the port number 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: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
When using the port 1433, the same error is coming only instead of Named Pipes it says TCP.
What to do? I have already added the SSRS IP to the Azure SQL DB firewall and have checked the connection string is also perfect. Since Auidting is on, we are also using 'secure' in the connection URL of the 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

In my remote server I log in SQL Server with SQL Server Management Studio. It works.
But on my PC when I try to log in I get an error. I add port to server name but I still get the same error. My TCP/IP is enabled. Port is enabled
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 connected host has failed to respond.) (.Net SqlClient Data Provider)

Connecting to SQL server on the same machine using the server's IP

I am using SQL SERVER 2012. I have set up my web server and SQL SERVER. Remote connections (using the server IP address) from other machines are working perfectly.
When I connect to SQL server on the same server using localhost, internal ip and machine name, these are all working flawlessly.
However, when I try to make a connection to SQL server on the same server, and using the server's IP as the server name, I get the 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)"
What can be the reason for this?
Are there any settings that can be changed in order for this to work?
Thank you.

Resources