mongodb 2.6 28017 无法打开问题
2014年5月5日
没有评论
在mongodb 2.6版本里 默认关闭httpinterface功能,原先/etc/mongod.conf启用该功能的nohttpinterface=true 已经不生效
现在只能通过 mongod -f /etc/mongod.conf –httpinterface -rest 方式开启。
编辑/etc/init.d/mongod
修改如下内容,重启mongodb即可