• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 8.6 with jdbc and mysql security problem

F

Fai Wong

Guest
When I run the java applet on the web server, got this error:
access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve)

I did a lot of searches already, most of the solutions are:
adding a line in java.policy under /usr/lib/jvm/java-<version>/jre/lib/security/java.policy
or catalina.policy under tomcat:
permission java.net.SocketPermission "localhost:3306", "connect, resolve";

But the important thing is:
I am using Plesk 8.6 and have no permission on SSH access (It displays "Forbidden")

So does anyone know how to solve it? (access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve))
Thanks
 
Back
Top