RMI, Firewall and big problem

C

cc

Hi,
I write a simple client-server programm with RMI package.
This program not work with a firewall between client and server.

The firewall port: 1099 and 14000 to 15000 is open.

The java.policy file is:
grant{
permission java.net.SocketPermission
"*:14000-15000","connect,accept,resolve";
permission java.io.FilePermission "classes/", "read";
};


Why the client connection is refused?

You can help me?
Carlo
 
E

Esmond Pitt

cc said:
Hi,
I write a simple client-server programm with RMI package.
This program not work with a firewall between client and server.

The firewall port: 1099 and 14000 to 15000 is open.

The java.policy file is:
grant{
permission java.net.SocketPermission
"*:14000-15000","connect,accept,resolve";
permission java.io.FilePermission "classes/", "read";
};


Why the client connection is refused?

What port are you exporting your servers on?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top