java.net.ConnectException: Connection refused

Google Groups | rvaneperen | 4 years 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

    Re: Setting up Mongo on CentOs for remote access

    Google Groups | 4 years ago | rvaneperen
    java.net.ConnectException: Connection refused
  2. 0

    [mongodb-user] Catch "connection refused" - Grokbase

    grokbase.com | 2 years ago
    java.net.ConnectException: Connection refused

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused

      at com.mongodb.DBPort._open()
    2. MongoDB Java Driver
      DBPort.runCommand
      1. com.mongodb.DBPort._open(DBPort.java:222)[mongo-2.8.0.jar:]
      2. com.mongodb.DBPort.go(DBPort.java:111)[mongo-2.8.0.jar:]
      3. com.mongodb.DBPort.go(DBPort.java:92)[mongo-2.8.0.jar:]
      4. com.mongodb.DBPort.findOne(DBPort.java:145)[mongo-2.8.0.jar:]
      5. com.mongodb.DBPort.runCommand(DBPort.java:156)[mongo-2.8.0.jar:]
      5 frames