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 meet101
, 7 months ago
via Google Groups by Łukasz Lewczyński, 4 months ago
via Stack Overflow by bwillemo
, 6 months ago
Connection refused (Connection refused)
via nabble.com by Unknown author, 2 years ago
via openas2 by santosh-vjit
, 7 months ago
Connection refused (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 org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)	at diagnostics.Diagnostics.isDeployrRunning(Diagnostics.java:184)	at diagnostics.Diagnostics.(Diagnostics.java:102)	at diagnostics.Diagnostics.main(Diagnostics.java:248)