org.apache.dubbo.remoting.RemotingException: client(url: dubbo://192.168.73.1:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&application=payment-dev&bind.ip=192.168.73.1&bind.port=20880&check=false&codec=dubbo&deprecated=false&dubbo=2.0.2&dynamic=true&generic=true&group=guangxin-system&heartbeat=60000&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&pid=14720&qos.accept.foreign.ip=true&qos.enable=false&qos.port=8091®ister.ip=192.168.2.187&release=2.7.8&remote.application=guangxin-system&revision=2.2.3.RELEASE&side=consumer&sticky=false×tamp=1610612703673&version=1.0.0) failed to connect to server /192.168.73.1:20880 client-side timeout 3000ms (elapsed: 3372ms) from netty client 192.168.2.187 using dubbo version 2.7.8
dubbo配置
dubbo:
application:
name: payment-dev
consumer:
check: false
protocol:
name: dubbo
port: -1
host: 192.168.2.187
registry:
address: spring-cloud://1651541:9587
本機的ip不是192.168.73.1,是192.168.1.50
uj5u.com熱心網友回復:
建議你用nacos作為注冊中心,不要用springcloud,本地先運行起來再搭建不同服務器的轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/248765.html
標籤:Java EE
