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 Google Groups by Unknown author, 4 months ago
Unable to execute SonarQube
via Stack Overflow by Skahrz
, 1 year ago
via Stack Overflow by RotS
, 1 year ago
via Stack Overflow by markd81
, 5 months ago
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.sonarsource.scanner.api.internal.shaded.okhttp.internal.Platform.connectSocket(Platform.java:101)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connectSocket(Connection.java:198)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connect(Connection.java:172)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connectAndSetOwner(Connection.java:358)	at org.sonarsource.scanner.api.internal.shaded.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:117)	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329)	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.getResponse(Call.java:276)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:234)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.getResponseWithInterceptorChain(Call.java:196)	at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.execute(Call.java:79)	at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:114)	at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99)	at org.sonarsource.scanner.api.internal.Jars.downloadFiles(Jars.java:78)	at org.sonarsource.scanner.api.internal.Jars.download(Jars.java:70)	at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:39)	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:75)	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:71)	at java.security.AccessController.doPrivileged(Native Method)	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:71)	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:67)	at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:218)	at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:156)	at org.sonarsource.scanner.cli.Main.execute(Main.java:70)	at org.sonarsource.scanner.cli.Main.main(Main.java:60)