Droplet App MongoDB String

Posted March 30, 2021 372 views
MongoDBDigitalOcean 1-Click Apps Marketplace

I can´t connect externally from a Droplet with a MongoDB from Marketplace. I can enter with SSH but it´s impossible to enter with user and password.
I generated the user and password properly, and I can´t connect externally.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there - I’m checking in with the team about this one … if you have any other information I should share with them, please let me know.

  • Thanks!
    I did everything I could, but it seems the external IP is blocked and I can´t do the string to connect with mongodb directly, was supposed to do… because this marketplace is supposed to be simple…
    2 weeks and nothing…

    • Hey there @admCrab, I would love to hear a bit more from you to see if I can help. If you could try again, following these instructions, that would be great! Then if it still doesn’t work, we can debug from there.

      1. Go to your database’s dashboard:{your_database_name}
      2. Scroll down a bit and look on the right side of the screen to find the “CONNECTION DETAILS” section.
      3. Ensure the “Public Network” card is chosen on the top left of your connection details.
      4. Use the dropdown directly to the right of that “Public Network” selection to select “Connection string”.
      5. Click the “Copy” button in the bottom left portion of the connection details section to copy the connection string.

      In step 5 it is really important that you don’t highlight your credentials to copy them. If you go the route of highlighting the connection details to copy them, you first must click the “show-password” button/link that sits within the string. If you don’t do this, it will copy the “show-password” text directly into your copy buffer.

      Let me know if you have any luck with that, thanks @admCrab!