node.js - AWS - Node app won't connect to running mongo instance -
I installed Mongo on my elastic Beanstock node. JS App and started the Moga daemon process. I am not sure how to connect to the database, though on my local node app, I am able to connect to these credentials:
module.exports = {'url': 'mongodb: //127.0.0.1: 27017 / test '}
I am assuming that it is not connected because I need a user, a password, and connect to create a database But I'm not sure how to do this Remote Databases I also set up mongo on T1.micro I am looking for resources to be very rare, so there is not much help there.
I did not realize that I had to start Mongo, which processes myself Run mongod
.
Comments
Post a Comment