How to setup my one-click mongoDB droplet to accept MONGO_URL connection from local meteor app (in development) with Windows7
I have create a one-click MongoDB Ubuntu 14.04 droplet and I want to be connected with this database from my local meteor application (which is in developing stage) bypassing the build-in mongo meteor db. I use Windows7 system in my local computer.
I need the mongo database to be in seperate droplet than meteor app for (future) flexibility and scalling. I need to build the database docs that meteor application will use from today (parallel with the meteor application development).
So far I have create the mongo droplet, enabled the ufw firewalls, and have make a batch commands file (“startMeteorInRemoteMongoURL.bat”) with the commands:
"SET MONGO_URL = mongodb://**user:password**@**dropletIP**/**database**" "meteor".
I use the batch file to run my meteor application local and I get as meteor error:
"Error: failed to connect to [**dropletIP**:27017]"
Do someone know to explane me analytic who do I have to setup the mongoDB droplet so to be able to connect from my local meteor app with MONGO_URL string connection?
I am nooby with Linux OS’s.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×