File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Sockets and Internet Protocols
Joined: Nov 17, 2008
Nov 17, 2008 09:23:00
I am writing a client-server program using Java applet-servlet repectively
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
Connecting to a remote servlet from an unsigned applet
Sending E-Mail through an Applet
problems naming a host parameter
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014