首页 > 解决方案 > 无法在 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。

为什么会这样?

标签: mongodb

解决方案


推荐阅读