简体   繁体   English

Azure Cosmos DB 数据迁移工具无法连接到 Cosmos DB

[英]Azure Cosmos DB Data Migration Tool unable to connect to Cosmos DB

I am attempting to use the Azure Cosmos DB Data Migration Tool , but it is unable to connect to my database.我正在尝试使用Azure Cosmos DB 数据迁移工具,但它无法连接到我的数据库。

In the documentation it is stated that -在文档中指出 -

The format of the Azure Cosmos DB connection string is: Azure Cosmos DB 连接字符串的格式为:
AccountEndpoint=<CosmosDB Endpoint>;AccountKey=<CosmosDB Key>;Database=<CosmosDB Database>;

To that end, I took the 'Primary Connection String' from my Cosmos DB account and appended the database name -为此,我从我的 Cosmos DB 帐户中获取了“主要连接字符串”并附加了数据库名称 -

AccountEndpoint= https://my-cosmos-db.documents.azure.com:443/;AccountKey= **********;Database=Accounts; AccountEndpoint= https://my-cosmos-db.documents.azure.com:443/;AccountKey= **********;数据库

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 telnet to the Cosmos DB account on port 443 .但是,我要在端口443telnet到 Cosmos DB 帐户。

What could be the issue here?这里可能是什么问题?

In "Target Information" tab, change your Connection Mode to Gateway在“目标信息”选项卡中,将连接模式更改为网关

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cosmos 数据迁移工具在将数据从 SQL 数据库迁移到 Azure Cosmos DB 模拟器时引发错误 - Cosmos Data migration tool throws Error while Migrating data from SQL Database to Azure Cosmos DB Emulator Cosmos DB 数据迁移 - Cosmos DB data migration 如何在Azure Cosmos DB数据迁移工具中将数据从SQL迁移到Cosmos Db时分配分区键 - How to Assign partition key while Migrating Data from SQL to Cosmos Db in Azure Cosmos DB Data Migration Tool Azure Cosmos DB - Azure DocumentDB 数据迁移工具 - 无法将大型数据库 (4gb) 导出到 json 文件 - Azure Cosmos DB - Azure DocumentDB Data Migration Tool - Not able to export large database (4gb) to json file Mongoshell无法连接到Cosmos DB - Mongoshell unable to connect to Cosmos DB 如何使用Cosmos DB数据迁移工具导入具有数组的文档 - How to import documents that have arrays with the Cosmos DB Data Migration Tool 使用数据迁移工具从Azure Cosmos DB导出到Json文件时出错 - Error while exporting from Azure Cosmos DB to Json file using Data Migration Tool Azure 数据工厂和 Cosmos DB - Azure Data Factory and Cosmos DB 从SQL Server迁移到Azure Cosmos数据库后无法查看数据 - Unable to see data after data migration from SQL Server to Azure Cosmos db SQL Server到Azure Cosmos DB的迁移 - SQL Server to Azure Cosmos DB Migration
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM