Java RMI for remote ip (host)
<p>I am newbie. I cannot understand <code>RMI</code> correctly. There are tons of tutorials available on the internet ,but all of them are for the local host as I can understand. Both server and client run on the same machine.    </p>

<p>I want to run client on any machine and the host will be on the one computer lets consider <code>IP - 11.11.11.11</code>. On the <code>1099</code>.<br>
But how can I achieve this, where should I specify my IP on the client side. As I understand naming convertion is used, like DNS but anyway when I need to connect to some machine remotely I need to know at least IP address (+mask) and port.     </p>

<p>I guess I missed something really important.      </p>

<p>Please give some example how to configure RMI remotly not on the same host.</p>