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

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via Stack Overflow by Abarna
, 3 months ago
via GitHub by nathandunn
, 2 months ago
Connection timed out (Connection timed out)
via GitHub by Bost
, 5 months ago
Connection timed out (Connection timed out)
via Google Groups by petzschm, 1 month ago
Connection timed out (Connection timed out)
via Stack Overflow by fabiobh
, 1 month ago
via GitHub by likku3
, 2 months ago
Connection timed out (Connection timed out)
java.net.ConnectException: Connection timed out	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 sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)	at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)	at com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:158)	at com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:144)	at com.hazelcast.aws.AWSClient.getPrivateIpAddresses(AWSClient.java:53)	at com.hazelcast.cluster.impl.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:42)	at com.hazelcast.cluster.impl.TcpIpJoiner.getPossibleAddresses(TcpIpJoiner.java:399)	at com.hazelcast.cluster.impl.TcpIpJoiner.joinViaPossibleMembers(TcpIpJoiner.java:126)	at com.hazelcast.cluster.impl.TcpIpJoiner.doJoin(TcpIpJoiner.java:84)	at com.hazelcast.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:103)	at com.hazelcast.instance.Node.join(Node.java:581)	at com.hazelcast.instance.Node.start(Node.java:339)	at com.hazelcast.instance.HazelcastInstanceImpl.(HazelcastInstanceImpl.java:131)	at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160)	at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:143)	at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:111)	at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)	at com.hazelcast.core.server.StartServer.main(StartServer.java:36)