com.mongodb.MongoSocketOpenException: Exception opening socket

Stack Overflow | bharani m | 7 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

    mongodb database connection in jsp using netbeans

    Stack Overflow | 7 months ago | bharani m
    com.mongodb.MongoSocketOpenException: Exception opening socket
  2. 0

    MongoSocketOpenException: Exception opening socket

    Google Groups | 2 years ago | Andrew M
    com.mongodb.MongoSocketOpenException: Exception opening socket
  3. 0

    MongoDB not responding to Java Client

    Stack Overflow | 2 years ago | Muhammad Junaid
    com.mongodb.MongoSocketOpenException: Exception opening socket**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    amazon web services: Unable to connect to MongoDB in AWS, server times out

    blogspot.com | 1 year ago
    com.mongodb.MongoSocketOpenException: Exception opening socket
  6. 0

    java mongo连接问题,一直超时,原因不知道在哪

    oschina.net | 2 years ago
    com.mongodb.MongoSocketOpenException: Exception opening socket

  1. andyglick 19 times, last 1 month ago
  2. rp 6 times, last 3 weeks ago
  3. iferca 48 times, last 4 weeks ago
  4. poroszd 2 times, last 1 month ago
  5. Adrien 4 times, last 3 months ago
19 more registered users
32 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.SocketTimeoutException

    connect timed out

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    8 frames
  3. MongoDB Java Driver
    DefaultServerMonitor$ServerMonitorRunnable.run
    1. com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:50)
    2. com.mongodb.connection.SocketStream.open(SocketStream.java:58)
    3. com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)
    4. com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:127)
    4 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame