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 Stack Overflow by Jagan
, 2 years ago
couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused: connect
via GitHub by skilpinen
, 1 year ago
couldn't connect to [machine.name/127.0.1.1:27017] bc:java.net.ConnectException: Connection refused
via Stack Overflow by Caveman
, 2 years ago
couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused: connect
via Google Groups by RajAhm, 2 years ago
couldn't connect to [rbhatt25339/171.69.121.94:27019] bc:java.net.ConnectException: Connection refused: connect
via Stack Overflow by Frank Flannigan
, 2 years ago
couldn't connect to [localhost/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused
via Stack Overflow by adhg
, 2 years ago
couldn't connect to [/xxx.xxx.xx.xxx:27017] bc:java.net.SocketTimeoutException: connect timed out
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.call(DBPort.java:79)	at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:218)	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 undefined.Test.main(Test.java:14)