mongodb 开启远程访问
1.修改mongodb.conf
#bind_ip = 127.0.0.1 //注释此行
auth = true //将此行前的注释去掉,开启权限限制
2.重启mongodb
启动时报错warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability
/var/lib/mongo删掉.lock文件
service mongod restart
3.windows远程连接mongodb工具
mongoVUE