how to open mongo shell in windows code example
Example 1: open mongo shell windows
"C:\Program Files\MongoDB\Server\YOUR_VERSION\bin\mongo.exe"
Example 2: open mongodb in cmd
1) Go to MongoDB bin folder:
C:\Program Files\MongoDB\Server\3.2\bin
2) Enter command mongod
By default, mongodb server will start at port 27017