java.security.AccessControlException: access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,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 Oracle Community by 843797, 1 year ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
via Oracle Community by 843793, 1 year ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
via Google Groups by Shicheng, 2 years ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
via Oracle Community by 807556, 1 year ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
via Google Groups by strider, 2 years ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
via Oracle Community by 843793, 1 year ago
access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission 1 27.0.0.1:1099 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:267)
at java.security.AccessController.checkPermission(AccessController.java:394)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1039)
at java.net.Socket.(Socket.java:257)
at java.net.Socket.(Socket.java:95)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:155)
at test.rmi.engine.ComputeEngine.main(ComputeEngine.java:34)

Users with the same issue

2 times, 1 month ago
Once, 6 months ago
Once, 6 months ago
Once, 7 months ago
12 times, 1 year ago

Write tip

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