java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)

Google Groups | Astro | 6 months ago
  1. 0

    MongoDB replication not working

    Google Groups | 6 months ago | Astro
    java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
  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

  1. gamebusterz 1 times, last 6 days ago
  2. raytest 4 times, last 5 days ago
  3. Reich 1 times, last 6 days ago
  4. andyglick 1 times, last 1 week ago
  5. Hronom 1 times, last 1 week ago
56 more registered users
39 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: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)

    at java.net.AbstractPlainSocketImpl.doConnect()
  2. Java RT
    Socket.connect
    1. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    2. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    3. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. MongoDB Java Driver
    SocketStream.open
    1. com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:50)
    2. com.mongodb.connection.SocketStream.open(SocketStream.java:58)
    2 frames