IP address to be used in Atlas connection

Hi ,

I have created Atlas as part of

After creating Cluster what IP address should be added to connect it.

How to identify the IP address, as it is purely for learning purpose.

Thanks a lot in advance if anyone can help.

I am c

It will be explained in the next lectures and lab.

Thanks a lot Steeve, got it form the next section.

How I can identify database name to replace with myFirstDatabase in the * Lab: Connect to your Atlas Cluster

mongo “mongodb+srv://sandbox.gjrji.mongodb.net/myFirstDatabase” --username m001-student

Sorry for this question,but didnt gete it in the course.

Thanks a lot for your help in advance

Hi @Samita_Beura, welcome to the community. :wave:
You can replace it with the admin database as a default for now.
Therefore, your connection command would look something like this:

mongo “mongodb+srv://sandbox.gjrji.mongodb.net/admin” --username m001-student

But usually, when you are connecting your MongoDB cluster to your web-server/tool, you have to replace it with the corresponding database.
For eg., if your app uses the myApplication database, then your connection string would be:

“mongodb+srv://sandbox.gjrji.mongodb.net/myApplication”

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

1 Like

Thanks a lot @SourabhBagrecha

1 Like