Can Not connect to Remote SQL server named instance with port - sql-server-2005

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.

Related

Cannot connect to SQL Server (The Network path was not found)

I'm trying to connect to a sql server and its not allowing me to. This just recently started happening from what I can tell nothing was changed. The TCP port (1433) is enabled and allowed access through the firewall, the Named Pipes is enabled. I can ping the IP address of the SQL Server I am trying to connect to. I am running out of ideas fast!
Here is the error:
Cannot connect to (MyServerName)
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)
The network path was not found
This was resolved. The company that was hosting the SQL Server I was trying to reach had blocked our cloud server IP address. Thanks for your help everyone!
Map your shared folder on both Sql Servers [ primary and secondary Sql server ] and try again to configure file log shipping may this help because in my scenario is working for me

remote connecting to sql server instance

When i try to remote connecto to my sql server i get this eror;
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)`
My sql server is running on my windows 8.1 single language edition machine. I also have iis server running on it. and i can view the page from remote machine with no problem. Here are the list that i have done;
I opened port 1433 and 1434 and forwarded them to my machine.
I closed all firewalls.
SQL browser is running
İ can ping my ip.
I can connect the sql server from office with just writing the ip 192.168.2.18. My instance name is . However i can not connect it from outside of the office. What is i am doing wrong what must be my server name when connecting to the instance . Can i connect it by just ip without writing any instance name?

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't connect remotely to database on SQL Server 2005

I am new to managing servers but I have just been given full access to set up an MS SQL Database on win server 2003. I have created a Database successfully and can connect locally (via remote desktop server)
Problem is I can't connect to the database from my personal computer (remotely, via ms sql server management studio). I have followed several tutorials such as: http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/
The error I am receiving is:
Cannot connect to 'servername'
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)
Any help will be great, thanks!
"SQL Server is configured to allow remote connections"
You need to enable remote tcp/ip connections in sql surface area configuration. It's new in 2005 and then dropped in 2008.
If that doesn't work, you either have a network issue are are perhaps giving the wrong name - maybe you installed a named instance?

Cannot connect to the sql server

i am having management stdio 2005 in my machine and im tring to connect to sql server 2008
i'm receiving the following message as the inner exception .
{"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)"}
can anyone please help
thanks,
vijay.
The protocol you're using (Named Pipes) is only valid if you're connecting to the local machine. If you're connecting to a remote machine, you need to enable the TCP protocol.
Other things to check:
Is your connection string correct? Server name spelled correctly?
Is any firewall allowing TCP traffic? The default port is 1433 for a basic setup.
Open up the SQL Server Configuration Manager
Expand the node "SQL Server Network Configuration"
Click on protocols node
Right click on "Named Pipes" -> Enable
Restart the SQL Server service
Make sure the database is configured to allow remote connections.
If using an instance, ensure you're pointing at that instance in your connectionstring.