Connecting to local Sql server 2005 through Internet

Posted by Manish on Server Fault See other posts from Server Fault or by Manish
Published on 2009-09-09T12:27:18Z Indexed on 2010/05/23 7:11 UTC
Read the original article Hit count: 321

Filed under:
|

Hello

My Sql server is on Local Machine, I want to access it through Internet.

I Configure Surace manager and Configuration manager of sqlserver 2005 for remote access.

My sqlserver is running on port:1433

I am using port forwarding , I can access service of other ports,

My Connetion String Is: Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;

But it gives following error when i am trying to connect sql server through internet:

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.)

© Server Fault or respective owner

Related posts about sql-server

Related posts about ASP.NET