title: Azure Cosmos DB Data Migration Tool unable to connect to Cosmos DB
body: <p>I am attempting to use the <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/import-data" rel="nofollow noreferrer">Azure Cosmos DB Data Migration Tool</a>, but it is unable to connect to my database.</p>
  
  <p>In the documentation it is stated that -</p>
  
  <blockquote>
    <p>The format of the Azure Cosmos DB connection string is:<br>
    <code>AccountEndpoint=&lt;CosmosDB Endpoint&gt;;AccountKey=&lt;CosmosDB Key&gt;;Database=&lt;CosmosDB Database&gt;;</code></p>
  </blockquote>
  
  <p>To that end, I took the 'Primary Connection String' from my Cosmos DB account and appended the database name -</p>
  
  <blockquote>
    <p>AccountEndpoint=<a href="https://my-cosmos-db.documents.azure.com:443/;AccountKey=" rel="nofollow noreferrer">https://my-cosmos-db.documents.azure.com:443/;AccountKey=</a>**********;Database=Accounts;</p>
  </blockquote>
  
  <p>However, any connection attempt from the Data Migration Tool is met with an error stating that it is unable to establish a connection (timeout). I am however to <code>telnet</code> to the Cosmos DB account on port <code>443</code>.</p>
  
  <p>What could be the issue here?</p>