title: What port is used by Java RMI connection?
body: <p>May I know what port is used by Java RMI connection?</p>
  
  <p>If I want to connect a Java client application to a Java server application using RMI connection, what port I need to open at the server machine so that the client application can connect to it?</p>
  
  <p>I want to set up a firewall in the server machine but I don't know which port I should open.</p>