mangodb<-mongo.create()
This my r code. When I'm creating a connection, it raises the following error:
Unable to connect to 127.0.0.1:27017, error code = 2.
mangodb<-mongo.create()
This my r code. When I'm creating a connection, it raises the following error:
Unable to connect to 127.0.0.1:27017, error code = 2.
Copyright © 2021 Jogjafile Inc.
That means that
mongodbisn't listening on its default port (27017). Did you startmongodb? TheRpackage provides an interface to connect tomongodb, but it's your (or the administrator) responsibility to start themongodbdaemon.