java.net.SocketTimeoutException: connect timed out


Samebug tips1

Check for proxy misconfigurations and AWS issues.


7 months ago
Expert tip

Solutions on the web346

Solution icon of stackoverflow
via Stack Overflow by Rao Pathangi
, 8 months ago
connect timed out

Solution icon of coderanch
via Coderanch by Mr. Ciribomflax, 10 months ago
connect timed out

Solution icon of github
via GitHub by mibby
, 1 year ago
connect timed out

Solution icon of github
via GitHub by lpassi
, 3 weeks ago
connect timed out

Solution icon of github
via GitHub by Maryam81609
, 1 year ago
connect timed out

Solution icon of github
via GitHub by DanielThomas
, 1 year ago
connect timed out

Solution icon of github
via GitHub by dasmaeh
, 1 year ago
connect timed out

Solution icon of github
via GitHub by veeresh1982
, 4 months ago
connect timed out

Solution icon of github
via GitHub by Mwea
, 1 year ago
connect timed out

Solution icon of github
via GitHub by Shiikii
, 5 months ago
connect timed out

Stack trace

java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:381)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:243)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:230)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
	at java.net.Socket.connect(Socket.java:539)
	at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:367)
	at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:359)
	at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
	at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
	at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:93)
	at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
	at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
	at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:307)
	at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:378)
	at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3796)
	at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3263)
	at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3694)
	at com.ibm.ws.naming.util.WsnInitCtxFactory.stringToObject(WsnInitCtxFactory.java:1645)
	at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1502)
	at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
	at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:962)
	at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:614)
	at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
	at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
	at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
	at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
	at javax.naming.InitialContext.lookup(InitialContext.java:436)
	at EJBInvocationTest.main(EJBInvocationTest.java:34)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 day ago
10 times, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 6 days ago
Samebug visitor profile picture
Unknown user
Once, 6 days ago
Samebug visitor profile picture
Unknown user
Once, 6 days ago
4307 more bugmates