title: nodejs with mssql connection timeout error
body: <p>I am writing a node.js console app for communicating with SQL Server 2008.</p>
  
  <pre><code>var sql = require('mssql');
  var connection = new sql.Connection({
      user: 'sa',
      password: 'password',
      server: 'localhost\\SQLEXPRESS',
      database: 'Demo'
  });
  
  connection.connect(function (err) {
       if (err) console.log(err);
  
      var request = new sql.Request(connection); // or: var request = connection1.request();
      request.query('select * from EmpInfo', function (err, recordset) {
          // ... error checks
  
          console.dir(recordset);
      })
  });
  </code></pre>
  
  <p>When I execute this code, a <code>TIMEOUT</code> error occurs. </p>