java.net.ConnectException

Connection timed out (Connection timed out)


Samebug tips9

Check if your MongoDB is available.

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.

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


Solutions on the web13738

Solution icon of github
via GitHub by andrewufrank
, 6 months ago
Connection timed out (Connection timed out)

Solution icon of github
Connection timed out (Connection timed out)

Solution icon of github
Connection timed out (Connection timed out)

Solution icon of stackoverflow
Connection timed out (Connection timed out)

Solution icon of github
via GitHub by nag10
, 2 days ago
Connection timed out (Connection timed out)

Solution icon of github
via GitHub by Lotarque
, 4 months ago
Connection timed out (Connection timed out)

Solution icon of googlegroups
via Google Groups by SK, 5 months ago
Connection timed out (Connection timed out)

Solution icon of stackexchange-serverfault
Connection timed out java.net.ConnectException: Connection timed out

Solution icon of stackoverflow
Connection timed out (Connection timed out)

Solution icon of github
via GitHub by kdpeders
, 4 months ago
Connection timed out (Connection timed out)

Stack trace

  • java.net.ConnectException: Connection timed out (Connection timed out) at java.net.PlainSocketImpl.socketConnect(Native Method)[?:1.8.0_111] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[?:1.8.0_111] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[?:1.8.0_111] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[?:1.8.0_111] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[?:1.8.0_111] at java.net.Socket.connect(Socket.java:589)[?:1.8.0_111] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)[?:1.8.0_111] at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)[?:1.8.0_111] at sun.net.NetworkClient.doConnect(NetworkClient.java:180)[?:1.8.0_111] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)[?:1.8.0_111] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)[?:1.8.0_111] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)[?:1.8.0_111] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)[?:1.8.0_111] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)[?:1.8.0_111] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)[?:1.8.0_111] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)[?:1.8.0_111] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)[?:1.8.0_111] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)[?:1.8.0_111] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)[?:1.8.0_111] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)[?:1.8.0_111] at net.sf.jabref.logic.util.Version.getAllAvailableVersions(Version.java:93)[JabRef-3.8.2-dev--snapshot--2017-01-16--master--9e48a5ff8.jar:?] at net.sf.jabref.gui.worker.VersionWorker.doInBackground(VersionWorker.java:55)[JabRef-3.8.2-dev--snapshot--2017-01-16--master--9e48a5ff8.jar:?] at net.sf.jabref.gui.worker.VersionWorker.doInBackground(VersionWorker.java:29)[JabRef-3.8.2-dev--snapshot--2017-01-16--master--9e48a5ff8.jar:?] at javax.swing.SwingWorker$1.call(SwingWorker.java:295)[?:1.8.0_111] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_111] at javax.swing.SwingWorker.run(SwingWorker.java:334)[?:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_111] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_111]

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

2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
491 more bugmates