java.net.ConnectException: Connection timed out >> >> at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.6.0_22] at >> >> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[:1.6.0_22] >> >> at >> >> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)[:1.6.0_22] at >> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)[:1.6.0_22] >> >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)[:1.6.0_22]

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

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

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

Solutions on the web

via servicemix-users by Charles Moulliard, 1 year ago
Connection timed out >> >> at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.6.0_22] at >> >> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[:1.6.0_22] >> >> at >> >> >> java.net.PlainSocketImpl.connectToAddress
via Google Groups by larry13767, 2 years ago
Connection refused [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
via openas2 by irschad
, 1 year ago
Connection refused: connect \[...\]
via nabble.com by Unknown author, 1 year ago
Connection refused at java.net.PlainSocketImpl.socketConnect(Native   >>>>>> Method) at java.net.PlainSocketImpl.doConnect >>>>>> (PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress >>>>>> (PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect >>>>>> (PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect >>>>>> (SocksSocketImpl.java:432)
via Netbeans Bugzilla by clever, 1 year ago
Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
via greatknow.com by Unknown author, 1 year ago
Connection timed out: connect at java.net.TwoStacksPlainSocketImpl.socketConnect(Na tive Method) at java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress
java.net.ConnectException: Connection timed out >> >> at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.6.0_22] at >> >> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[:1.6.0_22] >> >> at >> >> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)[:1.6.0_22] at >> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)[:1.6.0_22] >> >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)[:1.6.0_22]
at java.net.Socket.connect(Socket.java:529)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
488 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.