访问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

原文地址:https://www.cnblogs.com/cnundefined/p/mongo.html