skip to Main Content

I am facing problem while connecting mongodbCompass to Backend
enter image description here

i trying it to connect backend, but i am facing difficulty to initilize db in mongodb compass, in backend i have connected it, its my first db in mogodbcompass

2

Answers


  1. when facing issue on mongodb compass make sure that the connection string is correct with that of nodejs backend,

    Login or Signup to reply.
  2. Please check this link

    https://www.mongodb.com/blog/post/quick-start-nodejs-mongodb-how-to-get-connected-to-your-database

    Check the console or please tell the errors that you’re getting while connecting in console.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search