Google Cloud Platform - Can't connect to mongodb

后端 未结 5 1165
夕颜
夕颜 2020-12-20 14:53

Just installed mongodb using click-to-deploy in google cloud platform. I have another project, for which I created the mongodb database, where my web application runs. Do I

5条回答
  •  Happy的楠姐
    2020-12-20 15:31

    On the Mongodb project you should open firewall for port 27017.

    MongoDB used ports are listed at:
    http://docs.mongodb.org/manual/tutorial/configure-linux-iptables-firewall/

    Regards,
    Paolo

提交回复
热议问题