vendredi 24 juin 2016

Connect app to RethinkDB server on AWS

I am attempting to connect my app, which is currently on localhost, to a rethinkdb server on AWS. I used the rethinkdb AMI to get the server configured and up and running. However, I keep getting a failed to connect message. I am using rethinkdbdash to attempt the connection (http://ift.tt/1aIuzD0). The following is my connection code and no passsword on the db for right now. Anyone know how to connect to it:

let r = rethinkdbdash({
   db: 'test', 
   user: 'rethinkdb', 
   servers: [{host: 'my.aws.ip.addr', port: '28015'}]
});




Aucun commentaire:

Enregistrer un commentaire