javax.naming.CommunicationException: HOSTSERVER.DOMAINNAME.com:389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission HOSTSERVER.DOMAINNAME.com resolve)]

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807596, 1 year ago
HOSTSERVER.DOMAINNAME.com:389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission HOSTSERVER.DOMAINNAME.com resolve)]
via liferay.com by Unknown author, 1 year ago
xx.x.xx.xx:636 [Root exception is java.net.SocketTimeoutException: Read timed out]
via Oracle Community by 431850, 1 year ago
oid.blah.com:4031 [Root exception is java.lang.IllegalArgumentException: object is not an instance of declaring class]
via blockmastersecurity.com by Unknown author, 2 years ago
yourDCaddress.domain.com:389 [Root exception is java.net.UnknownHostException: yourDCaddress.domain.com]
via blockmastersecurity.com by Unknown author, 1 year ago
yourDCaddress.domain.com:389 [Root exception is java.net.UnknownHostException: yourDCaddress.domain.com]
via Oracle Community by 807581, 4 months ago
192.168.1.101:389 [Root exception is java.n et.ConnectException: Connection refused: connect]
javax.naming.CommunicationException: HOSTSERVER.DOMAINNAME.com:389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission HOSTSERVER.DOMAINNAME.com resolve)]
at com.sun.jndi.ldap.Connection.(Connection.java:204)
at com.sun.jndi.ldap.LdapClient.(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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