Hello all,
I am getting the following error when I am executing an applet to connect to a server via a socket.
java.security.AccessControlException: access denied (java.net.SocketPermission 1.9.1.1:8221 connect,resolve)
If the server the applet is trying to connect to is not the same as the one where the applet was served from, then that is not allowed by the applet security restrictions. See HowCanAnAppletReadFilesOnTheLocalFileSystem for information regarding the two ways around this.
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
a bit of art, as a gift, the permaculture playing cards