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. ,

    Check if your MariaDB is running and available.

Solutions on the web

via GitHub by jsarabia1247
, 3 weeks ago
Connection refused
via GitHub by Tback1
, 4 months ago
Connection refused
via incubator-olio-user by Bruno Guimarães Sousa, 2 years ago
via Stack Overflow by Muhammed Roshan
, 8 months ago
Connection refused (Connection refused)
via openas2 by santosh-vjit
, 8 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:334) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:196) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356) at java.net.Socket.connect(Socket.java:605) at com.android.okhttp.internal.Platform.connectSocket(Platform.java:113) at com.android.okhttp.Connection.connectSocket(Connection.java:196) at com.android.okhttp.Connection.connect(Connection.java:172) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367) at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126) at org.ksoap2.transport.ServiceConnectionSE.connect(ServiceConnectionSE.java:46) at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:68) at mobile.shinam.com.studentco.LoginActivity.callPHPWebServiceForAuthenticate(LoginActivity.java:138) at mobile.shinam.com.studentco.LoginActivity.wsAuthenticate(LoginActivity.java:70) at mobile.shinam.com.studentco.LoginActivity.access$000(LoginActivity.java:24) at mobile.shinam.com.studentco.LoginActivity$1.onClick(LoginActivity.java:55) at android.view.View.performClick(View.java:5637) at android.view.View$PerformClick.run(View.java:22429) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)