RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中
describe your use scenes (why need this feature)
Exception in thread "main" com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中
at com.alipay.sofa.rpc.client.AbstractCluster.unavailableProviderException(AbstractCluster.java:500)
at com.alipay.sofa.rpc.client.AbstractCluster.select(AbstractCluster.java:453)
at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke(FailoverCluster.java:65)
at com.alipay.sofa.rpc.client.AbstractCluster.invoke(AbstractCluster.java:297)
at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:83)
at com.ccbft.registry.service.HelloService_proxy_0.sayHello(HelloService_proxy_0.java)
at com.ccbft.registry.sub.StartClient.main(StartClient.java:28)
照着demo写了一个测试程序,客户端运行报以上错误,请问怎么解决?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Your question
describe your question clearly
Your scenes
RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中 describe your use scenes (why need this feature)
Exception in thread "main" com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中 at com.alipay.sofa.rpc.client.AbstractCluster.unavailableProviderException(AbstractCluster.java:500) at com.alipay.sofa.rpc.client.AbstractCluster.select(AbstractCluster.java:453) at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke(FailoverCluster.java:65) at com.alipay.sofa.rpc.client.AbstractCluster.invoke(AbstractCluster.java:297) at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:83) at com.ccbft.registry.service.HelloService_proxy_0.sayHello(HelloService_proxy_0.java) at com.ccbft.registry.sub.StartClient.main(StartClient.java:28) 照着demo写了一个测试程序,客户端运行报以上错误,请问怎么解决?
Your advice
describe the advice or solution you'd like
Environment
java -version
): 1.8.0_241uname -a
):win10