RMI, Firewall and big problem

Discussion in 'Java' started by cc, Mar 25, 2005.

  1. cc

    cc Guest

    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
     
    cc, Mar 25, 2005
    #1
    1. Advertising

  2. cc

    Esmond Pitt Guest

    cc wrote:

    > 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?
     
    Esmond Pitt, Mar 26, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Dodier
    Replies:
    6
    Views:
    2,383
    Matthias Kraft
    Sep 14, 2004
  2. Shaguf
    Replies:
    0
    Views:
    509
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    479
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    257
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    236
    Shaguf
    Dec 24, 2008
Loading...

Share This Page