java.security.AccessControlException: access denied (java.net.SocketPermission m yhost 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

Solutions on the web

via Coderanch by Radha MahaLakshmi, 1 year ago
access denied (java.net.SocketPermission m yhost resolve)
via Google Groups by tariq hasnain, 1 month ago
access denied (java.net.SocketPermission host resolve)
via Google Groups by tariq hasnain, 2 years ago
access denied (java.net.SocketPermission host resolve)
via Oracle Community by 843793, 1 year ago
access denied ( java.net.SocketPermission kq6py.eng.sun.com resolve)
via Oracle Community by 843793, 1 year ago
access denied (java.net.SocketPermission Osian2 resolve)
via Oracle Community by 843793, 1 year ago
access denied (java.net.SocketPermission <MY HOST NAME> resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission m yhost resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at java.net.Socket.(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at examples.hello.HelloImpl.main(HelloImpl.java:29)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
2 times, 1 day ago
Samebug visitor profile picture
Unknown user
Once, 6 days ago
Once, 4 months ago
75 more bugmates

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