java.security.AccessControlException: access denied (java.net.SocketPermission 127.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 Coderanch by Gordon Swan, 1 year ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
via Coderanch by Gordon Swan, 1 year ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
via Oracle Community by 843793, 1 year ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
via netbeans.org by Unknown author, 2 years ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
via Google Groups by [ZoRo], 2 years ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
via Oracle Community by 843797, 1 year ago
access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
at java.net.Socket.connect(Socket.java:513)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:180)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at rmi.StudentEnrollment.main(StudentEnrollment.java:30)

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
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Once, 2 weeks ago
Once, 4 months ago
75 more bugmates

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