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

    Firewall might be blocking your connection, or MySQL it's not running on your server machine.

  2. ,
    Expert tip

    Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.

Solutions on the web

via Stack Overflow by school_guy
, 7 months ago
Connection timed out: connect
via Stack Overflow by seventeen
, 2 years ago
via GitHub by sebDK
, 1 year ago
Connection timed out: connect
via GitHub by kenya44
, 1 year ago
Connection timed out: connect
via Stack Overflow by Alpesh Jikadra
, 1 year ago
java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method)[?:1.8.0_92] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)[?:1.8.0_92] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)[?:1.8.0_92] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)[?:1.8.0_92] at java.net.AbstractPlainSocketImpl.connect(Unknown Source)[?:1.8.0_92] at java.net.PlainSocketImpl.connect(Unknown Source)[?:1.8.0_92] at java.net.SocksSocketImpl.connect(Unknown Source)[?:1.8.0_92] at java.net.Socket.connect(Unknown Source)[?:1.8.0_92] at java.net.Socket.connect(Unknown Source)[?:1.8.0_92] at sun.net.NetworkClient.doConnect(Unknown Source)[?:1.8.0_92] at sun.net.www.http.HttpClient.openServer(Unknown Source)[?:1.8.0_92] at sun.net.www.http.HttpClient.openServer(Unknown Source)[?:1.8.0_92] at sun.net.www.http.HttpClient.<init>(Unknown Source)[?:1.8.0_92] at sun.net.www.http.HttpClient.New(Unknown Source)[?:1.8.0_92] at sun.net.www.http.HttpClient.New(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)[?:1.8.0_92] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)[?:1.8.0_92] at java.net.URL.openStream(Unknown Source)[?:1.8.0_92] at net.sf.jabref.importer.fetcher.MedlineFetcher.getIds(MedlineFetcher.java:94)[JabRef-3.4.jar:?] at net.sf.jabref.importer.fetcher.MedlineFetcher.processQuery(MedlineFetcher.java:174)[JabRef-3.4.jar:?] at net.sf.jabref.importer.fetcher.GeneralFetcher.lambda$actionPerformed$5(GeneralFetcher.java:263)[JabRef-3.4.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_92] at java.lang.Thread.run(Unknown Source)[?:1.8.0_92]