javax.naming.CommunicationException: ldap.forumsys.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect]


Solutions on the web106

Solution icon of web
via forumsys.com by Unknown author, 8 months ago
ldap.forumsys.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of stackoverflow
via Stack Overflow by JohnB
, 1 year ago
ldap.forumsys.com:389 [Root exception is java.net.ConnectException: Connection refused: connect]

Solution icon of stackoverflow
mydomain.mycompany.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of oraclecommunity
via Oracle Community by 843793, 1 year ago
myserver:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of github
10.64.117.71:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of oraclecommunity
via Oracle Community by 843793, 3 months ago
<some IP address>:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of youtrack
yavm-2k3:389 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
ipofactivedirectory:636 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of oraclecommunity
via Oracle Community by P.Forstmann, 1 year ago
<HOST_NAME>:3131 [Root exception is java.net.ConnectException: Connection timed out: connect]

Solution icon of github
localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]

Stack trace

javax.naming.CommunicationException: ldap.forumsys.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect]
	at com.sun.jndi.ldap.Connection.<init>(Connection.java:218)
	at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:130)
	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1592)
	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2628)
	at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:299)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:187)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:205)
	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:148)
	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:78)
	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
	at javax.naming.InitialContext.initializeDefaultInitCtx(Unknown Source)
	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
	at javax.naming.InitialContext.internalInit(Unknown Source)
	at javax.naming.InitialContext.<init>(Unknown Source)
	at foo.LdapTest.main(LdapTest.java:22)
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:214)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:201)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
	at java.net.Socket.connect(Socket.java:530)
	at java.net.Socket.connect(Socket.java:480)
	at java.net.Socket.<init>(Socket.java:377)
	at java.net.Socket.<init>(Socket.java:191)
	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:360)
	at com.sun.jndi.ldap.Connection.<init>(Connection.java:195)

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

1317 times, 4 hours ago
42 times, 7 hours ago
123 times, 13 hours ago
19 times, 15 hours ago
Samebug visitor profile picture
Unknown user
Once, 16 hours ago
295 more bugmates