library(RMongo)
Loading required package: rJava
Loading required package: RUnit
mongo.con<-mongoDbConnect("tickets",host="localhost",port=27017)
dbShowCollections(mongo.con)
Feb 4, 2011 7:01:39 PM com.mongodb.DBTCPConnector$MyPort error
SEVERE: MyPort.error called
java.io.IOException: couldn't connect to [machine.name/127.0.1.1:27017] bc:java.net.ConnectException: Connection refused
at com.mongodb.DBPort._open(DBPort.java:172)
at com.mongodb.DBPort.go(DBPort.java:79)
at com.mongodb.DBPort.call(DBPort.java:55)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:201)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:256)
at com.mongodb.DB.getCollectionNames(DB.java:200)
at com.quid.RMongo.dbShowCollections(RMongo.scala:24)
Any attempt to use the connection object leads to similar kind of error. Any help is appreciated. MongoDB has been setup and there is collection "tickets".
I encountered following problem:
Any attempt to use the connection object leads to similar kind of error. Any help is appreciated. MongoDB has been setup and there is collection "tickets".