Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Douglas Hubler, 1 year ago
couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused
via mongodb.org by Unknown author, 2 years ago
couldn't connect to [/127.0.0.1:40017] bc:java.net.ConnectException: Connection refused
via Stack Overflow by Russ Bateman
, 1 year ago
couldn't connect to [russ-elite-book/127.0.1.1:27017] bc:java.net.ConnectException: Connection refused
via Google Groups by ajinkya prabhune, 2 years ago
couldn't connect to [/"IPADDRESS OF THE MACHINE":27017] bc:java.net.Conne ctException: Connection timed out: connect
via Google Groups by ajinkya prabhune, 2 years ago
couldn't connect to [/"IPADDRESS OF THE MACHINE":27017] bc:java.net.Conne ctException: Connection timed out: connect
java.io.IOException: couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused at com.mongodb.DBPort._open(DBPort.java:228) at com.mongodb.DBPort.go(DBPort.java:112) at com.mongodb.DBPort.go(DBPort.java:93) at com.mongodb.DBPort.findOne(DBPort.java:146) at com.mongodb.DBPort.runCommand(DBPort.java:157) at com.mongodb.DBTCPConnector.fetchMaxBsonObjectSize(DBTCPConnector.java:457) at com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:444) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:209) at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305) at com.mongodb.DBCollection.findOne(DBCollection.java:647) at com.mongodb.DBCollection.findOne(DBCollection.java:626) at Test.main(Test.java:14)