It looks like you are trying to access MongoDB over HTTP on the native driver port.
出错原因:
1、没有安装mongo;
2、没有以--httpinterface参数启动mongodb,且应该以你的mongodb端口号+1000进行访问;
解决方案:
以--httpinterface参数启动mongodb
转载于:https://www.cnblogs.com/cnundefined/p/mongo.html
因篇幅问题不能全部显示,请点此查看更多更全内容