Saturday 15 February 2014

Can't Access MongoDB instance hosted in Google Cloud VM from RoboMongo -



Can't Access MongoDB instance hosted in Google Cloud VM from RoboMongo -

i have created project , deployed mean stack using "click deploy". when visit <> / 3000 see mean page coming server. can ssh machine , see stuff there. can access mongodb instance in way.

i created separate vm installed node.js , mongodb myself. both working similar way.

my problem - can't access either of machines local robomongo instance neither can access them local shell. had similar issue in aws world , solution create security grouping permit mongodb port (27017). tried , added "firewall rule" under "network" , allowed port incoming traffics --> bellow

mongodb communication outside source ranges: 0.0.0.0/0 allowed protocols or ports: tcp:27017 issue persists , can't access mongodb instance robomongo or local shell.

any thought ?

i suggest check if mongodb listening on port 27017 running next command:

sudo netstat -nap | grep 27017

i suggest seek turn off ip tables on vm , seek access maybe rule blocking access. 1 thing check bindip using db.servercmdlineopts()

mongodb google-app-engine google-cloud-storage robomongo

No comments:

Post a Comment