Robo 3T 错误:网络无法访问 [英] Robo 3T Error : Network is unreachable

查看:99
本文介绍了Robo 3T 错误:网络无法访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 Robo 3T 连接到我的在线数据库,但它似乎无法正常工作.我可以用它连接到本地数据库.我尝试使用 MongoDB Compass 进行连接,Details 和 Auth 工作正常,我能够连接.但是当我在 Robo 3T 中连接相同的细节时,它似乎不起作用.我该如何解决?我使用的是 Robo 3T 版本 1.1我在 Robomongo 1.0 上尝试过,但仍然出现相同的错误

I am trying to connect Robo 3T to my online database and it doesn't seem to be working. I am able to connect to local database with it. I tried connecting using MongoDB Compass and the Details and Auth are working fine and I am able to connect. But when I connect with the same details in Robo 3T, it doesn't seem to be working. How do I fix this? I am using Robo 3T Version 1.1 I tried same with Robomongo 1.0, and still getting the same error

推荐答案

只需将/etc/mongod.conf 中的 bind_ip 从 127.0.0.1 更改为 0.0.0.0 然后重新启动服务,它对我有用~

Just change your bind_ip in /etc/mongod.conf from 127.0.0.1 to 0.0.0.0 then restart the service, and it works for me~

这篇关于Robo 3T 错误:网络无法访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆