Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via GitHub by etotheipi
, 1 year ago
via Apache's JIRA Issue Tracker by Patrick Kleindienst, 11 months ago
Connection refused (Connection refused)
via openas2 by santosh-vjit
, 6 months ago
Connection refused (Connection refused)
via Stack Overflow by Hentory Wu
, 3 months ago
Connection refused (Connection refused)
via GitHub by hologup
, 1 year ago
Connection refused
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at com.googlecode.jmxtrans.model.output.support.pool.SocketAllocator.allocate(SocketAllocator.java:61)	at com.googlecode.jmxtrans.model.output.support.pool.SocketAllocator.allocate(SocketAllocator.java:37)	at com.googlecode.jmxtrans.model.output.support.pool.RetryingAllocator$2.call(RetryingAllocator.java:89)	at com.googlecode.jmxtrans.model.output.support.pool.RetryingAllocator$2.call(RetryingAllocator.java:86)	at com.github.rholder.retry.AttemptTimeLimiters$NoAttemptTimeLimit.call(AttemptTimeLimiters.java:78)	at com.github.rholder.retry.Retryer.call(Retryer.java:160)	at com.googlecode.jmxtrans.model.output.support.pool.RetryingAllocator.allocate(RetryingAllocator.java:86)	at stormpot.ReallocatingAdaptor.allocate(ReallocatingAdaptor.java:37)	at stormpot.BAllocThread.alloc(BAllocThread.java:225)	at stormpot.BAllocThread.realloc(BAllocThread.java:295)	at stormpot.BAllocThread.proactivelyHealPoison(BAllocThread.java:167)	at stormpot.BAllocThread.replenishPool(BAllocThread.java:123)	at stormpot.BAllocThread.continuouslyReplenishPool(BAllocThread.java:88)	at stormpot.BAllocThread.run(BAllocThread.java:80)	at java.lang.Thread.run(Thread.java:745)