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

GitHub | Samriddhi1 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 698#249355576

    GitHub | 5 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