Lab: Launching MongoDB

I run the given instance however the command does not run past “waiting for connection on port 27000”

How can I resolve this issue?

Hi Aaron_30116,

This is not an issue. You have successfully launched mongod

  • now open up a new tab, ssh into vagrant and run

    vagrant@m103:~$ mongo --port 27000

  • OR, use --fork option with mongod, then you will be able to use the same tab to run mongo --port 27000

Kanika

1 Like