【问题标题】:Connect mongo shell to restricted MongoDB Atlas Database?将 mongo shell 连接到受限的 MongoDB Atlas 数据库?
【发布时间】:2021-02-11 06:26:55
【问题描述】:

我已从 MongoDB Atlas 项目中删除了网络连接中的 localhost。

现在我的 mongo shell 无法连接到 MongoDB 集合。除了将 localhost 添加回网络连接之外,还有其他方法可以连接到 MongoDB 集合吗?我有时想从 CLI 中查看生产数据库,这可能吗?

【问题讨论】:

    标签: mongodb mongo-shell


    【解决方案1】:

    您可以使用 VPC 对等连接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-04
      • 2021-05-13
      • 2020-10-12
      • 2021-09-01
      • 1970-01-01
      相关资源
      最近更新 更多