java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:9340" "listen,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 GitHub by nellicus
, 1 year ago
access denied ("java.net.SocketPermission" "localhost:9340" "listen,resolve")
via GitHub by kt97679
, 1 year ago
access denied ("java.net.SocketPermission" "localhost:9400" "listen,resolve")
via issuehub.io by Unknown author, 1 year ago
access denied (“java.net.SocketPermission” “localhost:9400” “listen,resolve”)
via GitHub by CVTJNII
, 1 year ago
access denied ("java.net.SocketPermission" "localhost:9400" "listen,resolve")
via Stack Overflow by Superman9999
, 2 years ago
access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")
via knowcoding.com by Unknown author, 2 years ago
access denied (java.net.SocketPermission localhost:571 listen,resolve)
java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:9340" "listen,resolve")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkListen(SecurityManager.java:1131)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:221)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

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

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