Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Anita Morales   on Mar 03 In Java Category.

  
Question Answered By: Ryan Evans   on Mar 03

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";

Share: