javascript - mongodb node.js client, connect hangs -


node .js client hangs when mongo client. Connect (...) , but works on the Mongodb-client (shell command line) terminal. any clue?

  var requires Mongoclant = ('Mongodb'). Mongoquent; MongoClient.connect ('mongodb: //my.mongo.db.server.ip: 27017 / test', function (error, db) {throwing error (if mistake); console.log ("connect shows during call back ");}); // When the node loads in the shell, it hangs forever  


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -