Error: "Double colon in host identifer" : <p>I am trying to connect to a database that I have hosted at MLab. I am using the StrongLoop API. I've placed the config information for my hosted databases into my datasources.json and config.json files, but whenever I run the directory with <code>npm start</code>, I get <code>throw new Error ('double colon in host identifier';)</code> at api\node_modules\mongodb\lib\url_parser.js:45.</p>

<p>I have also made sure to install the loopback-connecter-mongodb npm package.</p>

<p>Here is a snippet of <strong>datasources.json</strong> (without the actual database details, of course):</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>{
  "db": {
    "name": "db",
    "connector": "mongodb",
    "host": "ds047355.mlab.com",
    "database": "dbtest",
    "username": "user",
    "password": "fakepassword",
    "port": 47355
  }
}</code></pre>
</div>
</div>
</p>

<p>Here is the <strong>config.json</strong> file:</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>{
  "restApiRoot": "/api",
  "host": "ds047355.mlab.com",
  "port": 47355,
  "remoting": {
    "context": {
      "enableHttpContext": false
    },
    "rest": {
      "normalizeHttpPath": false,
      "xml": false
    },
    "json": {
      "strict": false,
      "limit": "100kb"
    },
    "urlencoded": {
      "extended": true,
      "limit": "100kb"
    },
    "cors": false,
    "errorHandler": {
      "disableStackTrace": false
    }
  },
  "legacyExplorer": false
}</code></pre>
</div>
</div>
</p>

<p>Got any ideas?</p>
