在控制台输入 mongod 启动 mongodb服务,地址栏输入http://localhost:27017/ 能看到下图,表示服务启动成功。
踩坑记录-连接 MongoDB Compass Community 报错
打开”MongoDB Compass Community“软件 点击”connect"按钮时报 MongoDB not running on the provided host and port的错误,如下图:
踩坑记录-连接 MongoDB Compass Community 报错

原因:之前由于工作需要,在host文件里 配置127.0.0.1 为xxxx,应该改为localhost
踩坑记录-连接 MongoDB Compass Community 报错

相关文章:

  • 2021-10-02
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-07-05
  • 2022-02-19
  • 2022-12-23
  • 2021-07-04
猜你喜欢
  • 2022-01-03
  • 2021-06-07
  • 2022-12-23
  • 2021-10-02
  • 2021-12-07
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案