java.net.ConnectException: Connection refused >> at com.mongodb.DBPort._open(DBPort.java:222) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:111) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:92) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.findOne(DBPort.java:145) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.runCommand(DBPort.java:156) [mongo-2.8.0.jar:] >> at >> com.mongodb.DBTCPConnector.fetchMaxBsonObjectSize(DBTCPConnector.java:467)

Google Groups | rvaneperen | 4 years ago
  1. 0

    Re: Setting up Mongo on CentOs for remote access

    Google Groups | 4 years ago | rvaneperen
    java.net.ConnectException: Connection refused >> at com.mongodb.DBPort._open(DBPort.java:222) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:111) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:92) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.findOne(DBPort.java:145) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.runCommand(DBPort.java:156) [mongo-2.8.0.jar:] >> at >> com.mongodb.DBTCPConnector.fetchMaxBsonObjectSize(DBTCPConnector.java:467)
  2. 0

    Unable to connect to mongodb on AWS instance - com.mongodb.MongoSocketOpenException

    Stack Overflow | 1 year ago | Pratheeksha D
    java.net.ConnectException: Connection refused}}]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [Hive-user] connecting remotely to hive via jdbc - Grokbase

    grokbase.com | 11 months ago
    java.net.ConnectException: Connection refused: connect at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:111)
  5. 0

    Re: Prob: Sending mail externally

    james-server-user | 1 decade ago | Kunal Mehta
    java.net.ConnectException: Connection refused: connect at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867) at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused >> at com.mongodb.DBPort._open(DBPort.java:222) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:111) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.go(DBPort.java:92) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.findOne(DBPort.java:145) [mongo-2.8.0.jar:] >> at com.mongodb.DBPort.runCommand(DBPort.java:156) [mongo-2.8.0.jar:] >> at >> com.mongodb.DBTCPConnector.fetchMaxBsonObjectSize(DBTCPConnector.java:467)

      at com.mongodb.Mongo.getMaxBsonObjectSize()
    2. MongoDB Java Driver
      DBCollection.insert
      1. com.mongodb.Mongo.getMaxBsonObjectSize(Mongo.java:574)
      2. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:241)
      3. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:211)
      4. com.mongodb.DBCollection.insert(DBCollection.java:57)
      5. com.mongodb.DBCollection.insert(DBCollection.java:102)
      5 frames
    3. com.snap.document
      MongoDbHelper.insertDocument
      1. com.snap.document.MongoDbHelper.insertDocument(MongoDbHelper.java:138)
      1 frame