java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:80 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 807595, 1 year ago
access denied (java.net.SocketPermission 127.0.0.1:80 connect,resolve)
via http://bugs.webkit.org/ by shadow2531, 1 year ago
access denied (java.net.SocketPermission 192.168.0.17:80 connect,resolve)
via Stack Overflow by metalwihen
, 2 years ago
access denied (java.net.SocketPermission metalwihen.com:80 connect,resolve)
via Stack Overflow by Niklas Rosencrantz
, 2 years ago
access denied ("java.net.SocketPermission" "www.student.nada.kth.se:80" "connect,resolve")
via Stack Overflow by Oliver
, 2 years ago
access denied (java.net.SocketPermission api-verify.recaptcha.net:80 connect,resolve)
via Stack Overflow by Antonín
, 2 years ago
access denied ("java.net.SocketPermission" "localhost:8084" "connect,resolve")
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:552)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:798)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:384)
at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:240)
at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:105)
at sun.plugin.cache.FileCache.get(FileCache.java:137)
at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:223)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:157)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1197)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:247)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
at sun.applet.AppletPanel.run(AppletPanel.java:292)
at java.lang.Thread.run(Thread.java:536)

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.