Cannot connect to mongodb after app deploys on google app engine
问题 I'm using Bitnami mongodb instance deployed on Google Compute Engine. I can connect to that mongodb instance through MongoDB clients from my personal computer using the External IP of MongoDB instance. My app is an Angular2 app with Node.js backend. Following is the connection string format used in server.js mongoose.connect('mongodb://<username>:<password>@<External IP>:27017/<dbname>'); When I host my app on localhost it can connect to mongodb instance on the cloud and access data without