问题描述
String name = "Compute"; HelloWorldCompute engine = new HelloWorldEngine(); HelloWorldCompute stub = (HelloWorldCompute) UnicastRemoteObject.exportObject(engine, 8888); Registry registry = LocateRegistry.getRegistry(); registry.rebind(name, stub);执行最后一句,抛出异常java.rmi.ConnectException: Connection refused to host: 10.200.1.184; nested exception is: java.net.ConnectException: Connection refused: connect什么原因啊
解决方案
http://bbs.csdn.net/topics/390193904看看 下
时间: 2024-10-02 03:54:34