title: Sequelize unable to connect to SQL Server through network
body: <p>My setup is the following:</p>
  
  <p>I have a Virtual Machine running all of my Database processes, let's call it DB-VM.</p>
  
  <p>I'm currently developing at my own workstation (completely detached from DB-VM, except that we are under the same network.</p>
  
  <p>I've created a valid connection string, validated by another database connection service throughout IIS and through a Data Link Properties file (.udl) and the connection.</p>
  
  <p><a href="https://i.stack.imgur.com/zlMuE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zlMuE.png" alt="Connection String validation"></a></p>
  
  <p>This connection is described by the connection string as:
  <code>Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Data Source=DB-VM\MY_DATABASE</code>.</p>
  
  <p>I tried to insert it into my Sequelize configuration as following:</p>
  
  <pre><code>const sequelize = new Sequelize({
      dialect: 'mssql',
      dialectModulePath: 'sequelize-msnodesqlv8',
  
      dialectOptions: {
          connectionString: 'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Data Source=DB-VM\MY_DATABASE',
          trustedConnection: true,
      }
  });
  </code></pre>
  
  <p>And then proceeded to try and authenticate through:</p>
  
  <pre><code>sequelize.authenticate().then(() =&gt; {
      console.log('Connection stablished successfully!');
  }).catch(err =&gt; {
      console.log(err);
  });
  </code></pre>
  
  <p>And this the error is as follows:
  <a href="https://i.stack.imgur.com/aDUG2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aDUG2.png" alt="Error description"></a></p>
  
  <p>Notice: The database uses dynamic ports, therefore I can't specify the port through the <code>port</code> property.
  Notice 2: The Named Pipes are disabled on my database settings, and I'm not sure if I will be able to enabled it.
  Notice 3: The database is already setup to allow remote connections (it is currently used through a Webpage and works fine!</p>