Hi all ,I dont have so much experience in SQL server. I'm trying to connect to an SQL Server 2005 via IP address.My connection string is
"Data Source=22.214.171.124,1433;Network Library=DBMSSOCN;Initial Catalog=PostDB;User ID=;Password=")
I'm getting this error.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
I have enabled TCP/IP connection using Surface Configuration tool and I dont have a firewall now.
So how can I solve this? And please give me some advice and insights about storing and retrieving data in remote SQL server. I have no other way to clarify this issue.
Thank you in advance.