title: Getting exception java.net.SocketPermission
body: <p>I have jApplet where I want to send buffer to server and dump on it, but why AccessControlException I am not able to understand.   </p>
  
  <pre><code> java.security.AccessControlException: access denied (java.net.SocketPermission endpoint:8080 connect,resolve)
              at java.security.AccessControlContext.checkPermission(Unknown Source)
              at java.security.AccessController.checkPermission(Unknown Source)
              at java.lang.SecurityManager.checkPermission(Unknown Source)
              at sun.awt.AWTSecurityManager.checkPermission(AWTSecurityManager.java:959)
              at java.lang.SecurityManager.checkConnect(Unknown Source)
              at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
  </code></pre>