title: connectionString outside SQL server with App.config file
body: <p>I have a console application and in the App.config I need to add a connectionString to another SQL server that is in the same network.</p>
  
  <p>If I try the connectionString to a local server by only passing the Server='localhost' its worked but I cannot make it work for an outside server.</p>
  
  <p>Thanks</p>
  
  <p>Here is the connection file</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;startup&gt; 
  
      &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/&gt;&lt;/startup&gt;
    &lt;connectionStrings&gt;
      &lt;add connectionString="Server=LocalServer;database=DAtaBase;user=UserName;pwd=Password" name="Connection"/&gt;
    &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>