MongoSocketOpenException: Exception opening socket

I suspect that you have to start mongod first.