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。
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
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
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