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

    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

  2. ,
    via Stack Overflow by LittlePanda

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

Solutions on the web

via Stack Overflow by Sheikh Zubair
, 2 years ago
via Oracle Community by Kamal289, 1 year ago
Connection timed out: connect
via Stack Overflow by Unknown author, 2 years ago
Connection timed out: connect
via Google Groups by Unknown author, 10 months ago
Connection timed out: connect
via Stack Overflow by AZHAR MEMON
, 1 month ago
Connection timed out: connect [12/1/17 18:15:03:968 IST] 0000011b SystemErr R
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:524)	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)	at com.wipro.coe.Action.TestCallout.oAuthSessionProvider(TestCallout.java:54)	at com.wipro.coe.Action.TestCallout.main(TestCallout.java:98)