This discussion is archived
4 Replies Latest reply: Jan 30, 2011 6:37 PM by EJP RSS

Socket Connection Security Exception.

835248 Newbie
Currently Being Moderated
Dear all,

I've written an applet running in a webpage, which will open a socket connecting to, the localhost.

It work fine in my development environment (browser & webserver run in localhost), but when I deploy the website to a server,the applet always run with exception "access denied ( connect,resolve)".

I've have signed the jar with a cert. I have changed the java.policy in system to allow it, but still it didnt work.

The grant permission that i gave is :

grant {

kindly provide me a solution.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points