Whenever I type: rs.initiate()
, I get the following error message:
{
"info2" : "no configuration explicitly specified -- making one",
"me" : "VMHOSTNAME:27017",
"ok" : 0,
"errmsg" : "No host described in new configuration 1 for replica set rs0 maps to this node",
"code" : 93
}
I'm running under google-cloud-engine with latest MongoDB.
Any suggestions on how to solve this?