RMI Server / Socket Permission
Got an RMI Server running and clients can connect from the localhost. The problem comes if they want to connect from another pc.
Got a policy file like:
grant codeBase "file:/D:/RMIServer/classes/" {
...
permission java.net.SocketPermission "localhost", "accept, connect, listen, resolve";
...
}
Is there any way I can add SocketPermission to all ip addresses? Or to a network like 192.168.0.0/16 without using the java.security.AllPermission?
Tried to use "*", "0.0.0.0" and "192.168.0.0/16" instead of localhost but does not seem to work.
Message was edited by:
Carra

