java.security.AccessControlException: access denied (java.net.SocketPermission <IP-direction>:<port number> 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807555, 1 year ago
access denied (java.net.SocketPermission <IP-direction>:<port number> connect,resolve)
via Oracle Community by 807549, 1 year ago
access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve)
via Oracle Community by 843802, 1 year ago
access denied (java.net.SocketPermission 130.1.1.1:1521 connect,resolve)
via Oracle Community by 3004, 1 year ago
access denied (java.net.SocketPermission 204.146.70.1:1526 connect,resolve)
via Google Groups by Mariusz Twardowicz, 1 month ago
access denied (java.net.SocketPermission jaki�(ip_adres).jaki�(port) connect,resolve)
via Google Groups by dush, 2 years ago
access denied (java.net.SocketPermission 127.0.0.1:8001 connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission <IP-direction>:<port number> connect,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.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at oracle.net.nt.TcpNTAdapter.connect(Unknown Source)
at oracle.net.nt.ConnOption.connect(Unknown Source)
at oracle.net.nt.ConnStrategy.execute(Unknown Source)
at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1213)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:209)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at undefined.JDBCAdapter.(JDBCAdapter.java:59)
at undefined.AppletPaginacion.init(AppletPaginacion.java:53)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

2 times, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago

Write tip

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