java.net.SocketTimeoutException: connect timed out

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 for proxy misconfigurations and AWS issues.

Solutions on the web

via liferay.com by Unknown author, 1 year ago
via Oracle Community by 680365, 1 year ago
via knowcoding.com by Unknown author, 1 year ago
via knowcoding.com by Unknown author, 2 years ago
via knowcoding.com by Unknown author, 2 years ago
via Google Groups by user2032168 via StackOverflow, 1 month ago
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at com.liferay.portal.util.HttpImpl.URLtoByteArray(HttpImpl.java:1211)
at com.liferay.portal.util.HttpImpl.URLtoByteArray(HttpImpl.java:849)
at com.liferay.portal.util.HttpImpl.URLtoString(HttpImpl.java:876)
at com.liferay.portal.captcha.recaptcha.ReCaptchaImpl.validateChallenge(ReCaptchaImpl.java:99)
at com.liferay.portal.captcha.recaptcha.ReCaptchaImpl.validateChallenge(ReCaptchaImpl.java:131)
at com.liferay.portal.captcha.simplecaptcha.SimpleCaptchaImpl.check(SimpleCaptchaImpl.java:86)

Users with the same issue

Once, 2 days ago
Once, 5 days ago
18 times, 3 weeks ago
16 times, 1 month ago
8 times, 1 month ago

Write tip

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