mongodb - 无法在 localhost:3001 连接到 MongoDB
问题描述
我正在使用 Robo3t 和我的界面,我目前连接到其他本地数据库没有问题。但是,我正在尝试连接到Cannot connect to the MongoDB at localhost:3001.
Error:
The network is unreachable. Reason: couldn't connect to server localhost:3001, connection attempt failed: SocketException: Error connecting to localhost:3001 (127.0.0.1:3001) :: caused by :: Connection refused
我不明白。我永远不必从我的控制台访问我的 mongo。
为什么会这样?
解决方案
推荐阅读
- javascript - 如何在 reactJS 状态下动态设置对象属性的值?
- java - 使用 getBean 在 Spring 中获取 bean
- javascript - 为什么执行 ('Hello','world!) 返回 'world!'?
- meteor - 在准备工作期间解析Passengerfile.json 设置时出错
- numpy - 如何在张量流中获取查找表的地图
- c# - 尝试在构造函数中传递接口时,我的泛型类中的错误
- python - 熊猫数据帧时间格式值的总和
- vba - 在 Microsoft Word 中使用 VBA 获取光标上方最后一个“标题 1”样式的段落的编号
- python - 在 Python 中模拟子进程调用
- .net - rzc 生成退出,代码为 1 Microsoft.NET.Sdk.Razor.CodeGeneration.targets 3.0.0-preview8-28405-07