简体   繁体   中英

connect to mongodb production using robomongo client

in my dev enviorment I use mlab as temp db, but now I have production db setup in my ubuntu server. I can run mongo in my terminal after I ssh into my server, now I'm having problem connecting it with my client software which is robomongo. What step I missed out?

在您的 mongo (mongod) 配置文件(默认/etc/mongod.conf )中,您必须将net.bindIp设置设置为::,0.0.0.0以绑定到所有可以访问 db 的 IP 地址,或者您只能设置您的 pc ip 地址(robomongo 属于 pc)和您的节点服务器 ip(如果 nodeserver 与 db 服务器相同,则为 localhost)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM