Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Dec 25, 2021

connecting from ubuntu to mongodb atlas is terrible

kamal@zehan:~/Desktop/mongodb$ mongo "mongodb+srv://cluster0.d9ct7.mongodb.net/myFirstDatabase" --username mongo MongoDB shell version v5.0.5 Enter password: connecting to: mongodb://cluster0-shard-00-00.d9ct7.mongodb.net:27017,cluster0-shard-00-02.d9ct7.mongodb.net:27017,cluster0-shard-00-01.d9ct7.mongodb.net:27017/myFirstDatabase?compressors=disabled&gssapiServiceName=mongodb&ssl=true *** You have failed to connect to a MongoDB Atlas cluster. Please ensure that your IP allowlist allows connections from your network. Error: bad auth : Authentication failed. : connect@src/mongo/shell/mongo.js:372:17 @(connect):2:6 exception: connect failed exiting with code 1
  • Attach files
  • Guest
    Dec 28, 2021
    Hi Kamhar, Can you please help us understand: what does this have to do with Ubuntu? Are you missing an IP access list entry? Have you reached out to support for help? -Andrew