title: Can't connect to SQL Server Express via IP address - c#
body: <p>I moved from SQL Server 2014 to SQL Server Express (free version) and since then I can't connect to database using <code>SqlConnection</code> with IP.</p>
  
  <p>I can connect local with connection string but when I am using an ip address I get error number 10061, I checked whole net about that error and verified all the issues mentioned: remote connection is allowed, I added port in firewall, enabled tcp in server...</p>
  
  <p>In official version of SQL Server it works fine, but when I moved to EXPRESS free version I can't successfully connect remotely any more.</p>
  
  <p>This is the connection string I use:</p>
  
  <pre><code>SqlConnection cn = new SqlConnection(@"user id = ***; password=***;server=192.168.1.102,1433; Trusted_Connection=no; database=myDatabase; connection timeout=30");    
  </code></pre>
  
  <p>Getting exception error number 10061.</p>
  
  <p>But when I use the local connection string:</p>
  
  <pre><code>SqlConnection cn = new SqlConnection(@"server=ASUS\SQLEXPRESS ;database=myDatabase;user id = ***; password=***;");    
  </code></pre>
  
  <p>That works fine...</p>
  
  <p>What can the problem be?</p>