cscherer
February 21st, 2000, 01:54 PM
I have been trying to run a simple RMI example from the Sun Java Tutorial. I am working on a Windows 95 laptop and I am trying to test the example using the localhost (server and client classes on the same computer). I have tried using the default port 1099 and have tried using some other ports. I have followed the steps in the Sun RMI tutorial and I get the following error message when I try to run the server program:
java.security.AccessControlException: access denied (java.net.SocketPermission 27.0.0.1:1024 connect,resolve)
I have a few questions:
1. When I start the RMI registry using 'start rmiregistry', it opens a new window and there is no output. Is there supposed to be output from the registry or do I just assume that it started correctly?
2. Why is the security manager returning this AccessControlException? Do I need to change any of my DNS settings? Do I have to set certain permissions for the port?
3. Do I need to have a Web Server installed?
Any help will be appreciated.
java.security.AccessControlException: access denied (java.net.SocketPermission 27.0.0.1:1024 connect,resolve)
I have a few questions:
1. When I start the RMI registry using 'start rmiregistry', it opens a new window and there is no output. Is there supposed to be output from the registry or do I just assume that it started correctly?
2. Why is the security manager returning this AccessControlException? Do I need to change any of my DNS settings? Do I have to set certain permissions for the port?
3. Do I need to have a Web Server installed?
Any help will be appreciated.