RMI lookup works but method invocation not

后端 未结 2 488

UPDATE:

The problem is, that i\'m using a kind of 2-way connection.

On client side, this works:

String a = this.lobby.getMsg();
         


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-22 02:00

    The error message is

    java.rmi.ConnectException: Connection refused to host: ;
    

    I would check you can ping that server and telnet to the service point.

提交回复
热议问题