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 "18.104.22.168:993", "connect, accept";
to this file on OSX (windows has a similar file in JAVAHOME somewhere):
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" "22.214.171.124:993" "connect,resolve")
As always have fun!