网站介绍:文章浏览阅读2.5w次,点赞19次,收藏34次。一、错误提示:Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Erro二、解决方法:在你安装MongoDB的目录下创建一个文件夹data,并在里面创建db文件夹:打开两个终端(以管理员身份运行):(1)第一个终端执行命令:mongod ..._error: couldn't connect to server 127.0.0.1:27017, connection attempt failed
- 链接地址:https://blog.csdn.net/weixin_43520450/article/details/105766673
- 链接标题:Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Erro-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:787
- 网站标签:error: couldn't connect to server 127.0.0.1:27017 connection attempt failed