search

Home  >  Q&A  >  body text

robomongo无法连接到局域网内的mongodb服务器

mongodb装在IP为192.168.51.84的机器A上;
我从IP为192.168.70.1的机器B上可以用putty连接到A,但是无法用robomongo访问A上的mongodb。
A上的mongod程序已启动,且能够在A上用mongo命令访问。
访问外网上的mongodb服务器没有问题。
机器B为windows 8系统,机器A为red hat 6。

高洛峰高洛峰2843 days ago749

reply all(1)I'll reply

  • 阿神

    阿神2017-04-24 09:12:57

    If it is the RPM or Deb installation version of MongoDB 2.6, it will only listen to the local port by default. Take a look at the bind_ip setting in your mongod.conf file.

    Also check your firewall port to see if the Mongo port is not allowed

    reply
    0
  • Cancelreply