Re: rmi, two binding methods, what differences?



John_Woo wrote:
the port 1099, in my unix, may already be used by other app (not java).
in this case,
how would you think the default port for rmi?

I don't understand the question but I've already told you that port 1099 is reserved by IANA, which is the Internet Assigned Numbers Authority, for the RMI Registry. So any other application that is using 1099 is non-compliant and should be fixed or trashed.

If you can't get the application using 1099 fixed, use another number, obviously.
.



Relevant Pages

  • Re: RMI port on client side
    ... Server is establishing a connection to RMI client on a random port, ...
    (comp.lang.java.programmer)
  • Re: RMI design help
    ... > RMI has good performance but requires port 1099, ie, firewall problems. ... You could use web services which run ... RMI defaults to port 1099, but it does not require it. ... Steve W. Jackson ...
    (comp.lang.java.programmer)
  • Re: RMI & connection refused
    ... high ports incoming from the client. ... Offhand I can't remember whether RMI allows a server to listen ... specific port and then register that port with rmiregistry. ...
    (comp.lang.java.programmer)
  • JAVA RMI thr HTTP throws NoRouteToHostException
    ... As part of my test environment, I have blocked port 1099 ... So I am confident that my RMI client, ... My understanding is that when the RMI client tries to connect 1099 (rmi ...
    (comp.lang.java.programmer)
  • Re: RMI
    ... Hab da so meine kleinen Probleme und deshalb eine Frage: ... Wenn Du Dich auf den Server verbindest, ohne Parameter, wird ... RMI benoetigt auch noch einen zweiten Port fuer die Mommunikation ...
    (de.comp.lang.java)