Git Product home page Git Product logo

Comments (9)

casperiv0 avatar casperiv0 commented on August 20, 2024

Make sure the login to the db is correct

from ghostybot.

DiabolicAngeL avatar DiabolicAngeL commented on August 20, 2024

Hello casper,

here is my link mongodb+srv://dgbotghost:<password-here>@<cluster-name>.6x9t7.mongodb.net/discordbotdg?retryWrites=true

I tried with discordbotdg.discordbotdg too. Maybe I'm doing something else wrong

image

from ghostybot.

tovade avatar tovade commented on August 20, 2024

try remove the ?retryWrites=true

from ghostybot.

DiabolicAngeL avatar DiabolicAngeL commented on August 20, 2024

try remove the ?retryWrites=true

Thank you for the reply,
No, that didn't work

from ghostybot.

casperiv0 avatar casperiv0 commented on August 20, 2024

Make sure to user: mongodb+srv://<user here> is correct, you can check in the database access and make sure your IP is whitelisted so it can connect to mongodb here

from ghostybot.

DiabolicAngeL avatar DiabolicAngeL commented on August 20, 2024

Both checked. I have allowed access to all and I added the server ip too just in case..
image
image

from ghostybot.

tovade avatar tovade commented on August 20, 2024

did u fill in the pass?

from ghostybot.

DiabolicAngeL avatar DiabolicAngeL commented on August 20, 2024

did u fill in the pass?

yeap

Ps. When I create a database I put the database name, what should I put in collection name? Maybe that's what i'm doing wrong? I don't know

from ghostybot.

DiabolicAngeL avatar DiabolicAngeL commented on August 20, 2024

Problem solved.
If anyone else have the same problem, be sure to open the following ports.

27015,27016,27017

https://docs.atlas.mongodb.com/troubleshoot-connection#attempting-to-connect-to-a-cluster-from-behind-a-firewall

from ghostybot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.