java.net.ConnectException

Connection timed out: connect

Samebug tips3

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


rafaelrafael

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1085

  • via GitHub by devster31
    ,
  • Stack trace

    • java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method)[?:1.8.0_101] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)[?:1.8.0_101] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)[?:1.8.0_101] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)[?:1.8.0_101] at java.net.AbstractPlainSocketImpl.connect(Unknown Source)[?:1.8.0_101] at java.net.PlainSocketImpl.connect(Unknown Source)[?:1.8.0_101] at java.net.SocksSocketImpl.connect(Unknown Source)[?:1.8.0_101] at java.net.Socket.connect(Unknown Source)[?:1.8.0_101] at java.net.Socket.connect(Unknown Source)[?:1.8.0_101] at sun.net.NetworkClient.doConnect(Unknown Source)[?:1.8.0_101] at sun.net.www.http.HttpClient.openServer(Unknown Source)[?:1.8.0_101] at sun.net.www.http.HttpClient.openServer(Unknown Source)[?:1.8.0_101] at sun.net.www.http.HttpClient.<init>(Unknown Source)[?:1.8.0_101] at sun.net.www.http.HttpClient.New(Unknown Source)[?:1.8.0_101] at sun.net.www.http.HttpClient.New(Unknown Source)[?:1.8.0_101] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)[?:1.8.0_101] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)[?:1.8.0_101] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)[?:1.8.0_101] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)[?:1.8.0_101] at net.sf.jabref.logic.net.URLDownload.openConnection(URLDownload.java:110)[JabRef_3.6.jar:?] at net.sf.jabref.logic.net.URLDownload.downloadToString(URLDownload.java:123)[JabRef_3.6.jar:?] at net.sf.jabref.logic.importer.fetcher.DOItoBibTeX.getEntryFromDOI(DOItoBibTeX.java:53)[JabRef_3.6.jar:?] at net.sf.jabref.gui.importer.fetcher.DOItoBibTeXFetcher.processQuery(DOItoBibTeXFetcher.java:27)[JabRef_3.6.jar:?] at net.sf.jabref.gui.importer.fetcher.GeneralFetcher.lambda$actionPerformed$5(GeneralFetcher.java:223)[JabRef_3.6.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_101] at java.lang.Thread.run(Unknown Source)[?:1.8.0_101]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    731 more bugmates