[英]unable to connect to 127.0.0.1:27017 in R programming language
mangodb<-mongo.create()
This my r
code.这是我的r
代码。 When I'm creating a connection, it raises the following error:当我创建连接时,它会引发以下错误:
Unable to connect to 127.0.0.1:27017, error code = 2.
That means that mongodb
isn't listening on its default port (27017).这意味着mongodb
没有侦听其默认端口 (27017)。 Did you start mongodb
?你启动了mongodb
吗? The R
package provides an interface to connect to mongodb
, but it's your (or the administrator) responsibility to start the mongodb
daemon. R
包提供了一个接口来连接到mongodb
,但是启动mongodb
守护程序是您(或管理员)的责任。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.