title: How to access database in SQL Server 2008 from another computer
body: <p>I need to access database in another computer using c#...I am using connection string with IP address for accessing database and also changed firewall setting but it shows error as follows  </p>
  
  <blockquote>
    <p><em>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.)</em></p>
  </blockquote>
  
  <p>I m using this connection string</p>
  
  <pre><code>SqlConnection con = new SqlConnection("data source=192.168.1.12,1063;initial catalog=trinity;integrated security=false;network library=DBMSSOCN");
  </code></pre>