[英]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
.但是,我要在端口
443
上telnet
到 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.