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 22.214.171.124: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.
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Devious Experiments for a Truly Passive Greenhouse!