java.net.ConnectException: Connection timed out: connect

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

Solutions on the web

via Jive Software Open Source by Matt Tucker, 1 year ago
Connection timed out: connect
via JIRA by Matt Tucker, 1 year ago
Connection timed out: connect
via Jive Software Open Source by Matt Tucker, 1 year ago
Connection timed out: connect
via Oracle Community by 2698502, 1 year ago
Connection timed out: connect
via tomcat-users by Pavel Gouchtchine, 1 year ago
via tomcat-users by Pavel Gouchtchine, 1 year ago
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.selectHost(Socks5TransferNegotiator.java:196)
at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotiateIncomingStream(Socks5TransferNegotiator.java:114)
at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$NegotiatorService.call(FaultTolerantNegotiator.java:181)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

140 times, 1 hour ago
11 times, 2 days ago
26943 times, 2 days ago
4 times, 4 days ago
5 times, 4 days ago

Write tip

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