java.net.ConnectException: Connect ion refused}}]

GitHub | Samriddhi1 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 698#249355576

    GitHub | 6 months ago | Samriddhi1
    java.net.ConnectException: Connect ion refused}}]
  2. 0

    [mongodb-user] db error [not master]

    Google Groups | 7 years ago | Zsombor
    java.net.ConnectException: Connection refused

    Root Cause Analysis

    1. java.net.ConnectException

      Connect ion refused}}]

      at com.mongodb.connection.BaseCluster.createTimeoutException()
    2. MongoDB Java Driver
      DBCollection.findOne
      1. com.mongodb.connection.BaseCluster.createTimeoutException(BaseCluster.java:370)[mongo-java-driver-3.0.2.jar!/:na]
      2. com.mongodb.connection.BaseCluster.selectServer(BaseCluster.java:101)[mongo-java-driver-3.0.2.jar!/:na]
      3. com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:75)[mongo-java-driver-3.0.2.jar!/:na]
      4. com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:71)[mongo-java-driver-3.0.2.jar!/:na]
      5. com.mongodb.binding.ClusterBinding.getReadConnectionSource(ClusterBinding.java:63)[mongo-java-driver-3.0.2.jar!/:na]
      6. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:166)[mongo-java-driver-3.0.2.jar!/:na]
      7. com.mongodb.operation.FindOperation.execute(FindOperation.java:394)[mongo-java-driver-3.0.2.jar!/:na]
      8. com.mongodb.operation.FindOperation.execute(FindOperation.java:57)[mongo-java-driver-3.0.2.jar!/:na]
      9. com.mongodb.Mongo.execute(Mongo.java:738)[mongo-java-driver-3.0.2.jar!/:na]
      10. com.mongodb.Mongo$2.execute(Mongo.java:725)[mongo-java-driver-3.0.2.jar!/:na]
      11. com.mongodb.DBCollection.findOne(DBCollection.java:737)
      12. com.mongodb.DBCollection.findOne(DBCollection.java:710)
      13. com.mongodb.DBCollection.findOne(DBCollection.java:657)
      13 frames