This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Posted by Pavan Kumar Keely on October 18, 2001 at 3:39 AM
> Working on Java RMI
> Even after setting the socket permission with policy tool, I am getting the following error.
> java.security.AccessControlException: access denied (java.net.SocketPermission 1
> 220.127.116.11:1099 connect,resolve)
> Can anybody let me know the soln
Are working on the localhost, I am just asking because the ip the exception displaying is 127.0.0.1. Where's the rmiregistry running? Is that on the localhost (127.0.0.1). From where you are trying to connect to the rmiregistry (trying to get the reference of the remote object). Please trying reply to this, and I will try my best to reply you back,...
please mail me to email@example.com
Pavan Kumar Keely