com.mongodb.MongoException: java.io.IOException: ConnectEx failed

Google Groups | Josh Kim | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error connecting with scala driver

    Google Groups | 4 months ago | Josh Kim
    com.mongodb.MongoException: java.io.IOException: ConnectEx failed

    Root Cause Analysis

    1. java.io.IOException

      ConnectEx failed

      at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0()
    2. Java RT
      AsynchronousSocketChannelImpl.connect
      1. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(Native Method)
      2. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$200(WindowsAsynchronousSocketChannelImpl.java:43)
      3. sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ConnectTask.run(WindowsAsynchronousSocketChannelImpl.java:235)
      4. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implConnect(WindowsAsynchronousSocketChannelImpl.java:382)
      5. sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:209)
      5 frames
    3. MongoDB Java Driver
      DefaultServerMonitor$ServerMonitorRunnable.run
      1. com.mongodb.connection.AsynchronousSocketChannelStream.openAsync(AsynchronousSocketChannelStream.java:79)
      2. com.mongodb.connection.AsynchronousSocketChannelStream.open(AsynchronousSocketChannelStream.java:61)
      3. com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)
      4. com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:128)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame