I'm am using Phusion Passenger Standalone to deploy my application in our LAN. If my application and mongodb are all in the same server then there's no problem. Here's How I did it
meteor bundle . and after do npm installexport MONGO_URL='mongodb://localhost:27017/meteor'
export MONGO_OPLOG_URL='mongodb://localhost:27017/local'
export ROOT_URL='http://www.my-app.com'
Start Phusion Passenger
sudo -E passenger start --port 80 --user someusername --environment production --daemonize --sticky-sessions --app-type node --startup-file main.js
However when I wanted to separate them so I can have a dedicated Mongodb Server, my application cannot connect to it. Here's the what I did
export MONGO_URL='mongodb://192.168.xxx.xx:27017/meteor'
export MONGO_OPLOG_URL='mongodb://192.168.xxx.xx:27017/local'
export ROOT_URL='http://www.my-app.com'
What am I missing here to be able to run my Meteor application using a remote server?
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes the mongod.conf have the "bind_ip = 127.0.0.1"...
Yes the mongod.conf have the "bind_ip = 127.0.0.1"...on your second question, are you referring to browser console?
--
i commented the bind_ip and the port but still my application cannot connect to the moongodb server..