Not able to access mongo db

While accessing mongo db using a virtual machine (vagrant), seeing the attached issue. – course M103

Your prompt indicates that you are in Windows.

Please tell me how to connect to mongo.

It is the same command but once you are on the vagrant machine.

The lesson Chapter 0: Introduction & Setup - Lab: Setting Up the Vagrant Environment shows the steps how to do it.

1 Like

Hi @neha_07638,

As @steevej-1495 mentioned, you were running the mongo command on your windows prompt. In this course, you are supposed to be working inside the virtual machine.

Navigate to the m103-vagrant-env folder on your system and then run the vagrant up and vagrant provision command to ssh into the running vagrant machine.

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Services Engineer