Guest User

Untitled

a guest
Jan 27th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. error: A hook (`orm`) failed to load!
  2. error: Error: Failed to connect to MongoDB. Are you sure your configured Mongo instance is running?
  3. Error details: { MongoError: connection 1 to ds241489.mlab.com:41489 timed out
  4. at Function.MongoError.create (/home/nevada/v4/node_modules/mongodb-core/lib/error.js:29:11)
  5. at Socket.<anonymous> (/home/nevada/v4/node_modules/mongodb-core/lib/connection/connection.js:186:20)
  6. ...
  7.  
  8. mlab: {
  9. adapter: 'sails-mongo',
  10. host: 'ds241489.mlab.com',
  11. port: *****,
  12. user: '******',
  13. password: '************',
  14. database: '******'
  15. }
  16.  
  17. module.exports = {
  18. connection: 'mlab',
  19. attributes: {
  20. // Some stuff here
  21. }
  22. };
Add Comment
Please, Sign In to add comment