A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Joined: Nov 17, 2008
Nov 17, 2008 09:23:00
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:
subject: applet-servlet communication
Sending E-Mail through an Applet
Connecting to a remote servlet from an unsigned applet
problems naming a host parameter
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015