You mentioned that you added a firewall rule to connect to port 27017. Make sure you add this firewall rule to the control panel Google Cloud Consoleor using the command-line utility gcloud.
IP- , dahsboard Google Cloud Console.
Mongo ( /etc/mongod.conf), IP- bind_ip.
:
$ vim /etc/mongod.conf
bind_ip = 127.0.0.1
IP- :
$ vim /etc/mongod.conf
bind_ip = 127.0.0.1,X.X.X.X
X.X.X.X - IP . mongo.
. IP- mongo.
: MKyong.com: MongoDB -