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

访问mongo数据库报错

出错原因:

1、没有安装mongo;

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

 

解决方案:

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

以--httpinterface参数启动mongodb

相关文章:

  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-10-23
  • 2021-12-03
  • 2021-12-29
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2021-05-18
  • 2021-07-20
  • 2021-08-18
  • 2021-11-15
  • 2022-01-31
  • 2022-12-23
相关资源
相似解决方案