mongod direct command contain some by default parameter
mongod --dbpath=C:\data\db\ --port=27017
so create a folder data in c then create a db folder in that then run the command
mongod
your server will be in running state now connect to it using
mongo --port=27017
this will work for you if problem then comment