Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Sockets and Internet Protocols
posted 7 years ago
I am writing a client-server program using
con = urlServlet.openConnection(); for the connection
My program works well on local host, however when I try on LAN ie on remote host it gives java.security.AccessControl Exception Socket Permission denied to 192.168.2.55(remote host) (connect, resolve)
I have changed the java.policy file socketpermission to listen,accept,connect,resolve
But this problem is still there.
What is the solution to this?
I agree. Here's the link:
Sending E-Mail through an Applet
Connecting to a remote servlet from an unsigned applet
problems naming a host parameter