Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMI,can't get connect two computers.

941219Jun 1 2012 — edited Jun 4 2012
I'm noob in RMI and the material on the Internet is kind of hard to understand because the examples are all on the same computer which is odd, since the main purpose of the RMI is another. I tried to implement the server in a computer, and the client on another computer and follow the codes as below:

What is wrong ?

Computer 1 ->Server:
[Java] package remoto; import java.rmi.Remote; import java.rmi.RemoteException; pu - Pastebin.com

Computer 2-> Client:
[Java] /*Same interface i have in my server computer.*/ package remoto; import java.r - Pastebin.com

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2012
Added on Jun 1 2012
8 comments
1,898 views