1&1 VNC Remote Console Java Security Issue

Written by jeremy on October 28, 2015

Java has consistently been updating its security to reduce it’s potential for spreading malware. Good news! Unfortunately older online java apps will sometimes break to the point of being unusable. One of those apps is the VNC Console for the 1&1 Dynamic Cloud servers. I found this article that explained how to add a line into the policy file to allow the IP that is getting blocked. Here is the article:


I had to add this code:

permission java.net.SocketPermission "", "connect, accept";

to this file on OSX (windows has a similar file in JAVAHOME somewhere):

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/java.policy

You can add additional lines to this file for any legacy app you encounter.

The error I was getting in the java console when I had this issue was:

"Network Error: access denied ("java.net.SocketPermission" "" "connect,resolve")

As always have fun!