글쓴이 :이원영 1998년 11월 03일 13:22:42
In Reply to: rmic DBServer posted by 이원영 on 1998년 10월 22일 15:21:49:
--------------------------------
HelloInterface server =
(HelloInterface) Naming.lookup("rmi://power:" + PORT + "/HelloServer");
=====>이 부분을 아래와 같이 해야 합니다.
HelloInterface server =
(HelloInterface) Naming.lookup("rmi://" + getCodeBase().getHost() + ":" + PORT + "/HelloServer");