访问mongo数据库报错

It looks like you are trying to access MongoDB over HTTP on the native driver port.

出错原因:

1、没有安装mongo;

2、没有以--httpinterface参数启动mongodb,且应该以你的mongodb端口号+1000进行访问;

 

解决方案:

安装mongo,官网下载地址:https://www.mongodb.com/dr/fastdl.mongodb.org

以--httpinterface参数启动mongodb

posted on 2017-06-07 09:27  CNundefined  阅读(1276)  评论(0编辑  收藏  举报