Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
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?
Sending E-Mail through an Applet
Connecting to a remote servlet from an unsigned applet
problems naming a host parameter