I will try to consult my network administrator regarding the port,
But What I do now is I invoke
For Remote server, I run
java -Djava.security.manager -Djava.security.policy=java.policy
RMITest.InvokeServer
The server java.policy I include line
permission java.net.SocketPermission "Server
IP:1099", "accept,connect";
permission java.net.SocketPermission "localhost:1099-
", "accept,connect,listen";
I run on my pc :
java -Djava.security.manager -Djava.security.policy=java.policy
RMITest.InvokeClient
My client java.policy
permission java.net.SocketPermission "<Server
IP>:1099", "accept,connect";