【问题标题】:Connect to DocumentDB Emulator using MongoDB API使用 MongoDB API 连接到 DocumentDB 模拟器
【发布时间】:2017-03-03 01:27:01
【问题描述】:

如何使用 MongoDB API 连接到 DocumentDB 模拟器?

This SO post 说有可能。

我尝试使用 MongoChef (here) 中的知名凭据进行连接,但超时!

我也尝试从 cmd 运行 DocumentDB.Emulator.exe /MongoPort=10250,但没有帮助!

【问题讨论】:

    标签: mongodb azure-cosmosdb


    【解决方案1】:

    原来 MongoChef 在从 URL 复制数据时删除了 +s 并将它们替换为 。现在工作正常。

    【讨论】:

    • 这是救命稻草!
    【解决方案2】:

    您还可以在 https://docs.microsoft.com/en-us/azure/documentdb/documentdb-mongodb-mongochef 找到有关与 MongoChef 连接的详细文档

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-12
      • 1970-01-01
      • 2021-07-27
      • 2017-11-26
      • 1970-01-01
      • 2019-03-08
      • 2020-08-27
      相关资源
      最近更新 更多