I've written an applet running in a webpage, which will open a socket connecting to 127.0.0.1, 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 (java.net.SocketPermission 127.0.0.1:20000 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 :
kindly provide me a solution.
The webserver is running at port 80, my socket server is running in the client machine at port 20000.