com.mongodb.MongoSocketOpenException: Exception opening socket

Stack Overflow | Vikram | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Check if your MongoDB is available.
  2. 0
    samebug tip
    Check if your server is listening to the the same adress you're trying to connect to.
  3. 0

    amazon web services: Unable to connect to mongodb on AWS instance - com.mongodb.MongoSocketOpenException

    blogspot.com | 1 year ago
    com.mongodb.MongoSocketOpenException: Exception opening socket
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. rp 2 times, last 4 months ago
  2. Aria Pahlavan 37 times, last 5 months ago
  3. mauritius 3 times, last 8 months ago
  4. Bardh 85 times, last 11 months ago
1 unregistered visitors
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 (Connection refused)

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    PlainSocketImpl.socketConnect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.8.0_111]
    1 frame