Home > Back-end >  Integration of dubbo springboot start an error
Integration of dubbo springboot start an error

Time:01-15

 
Org. Apache. Dubbo. Remoting. RemotingException: client (url: dubbo://192.168.73.1:20880/com. Alibaba. Cloud. The dubbo. Service. DubboMetadataService? Anyhost=true& Application=payment - dev& Bind the IP=192.168.73.1 & amp; The bind. Port=20880 & amp; Check=false& The codec=dubbo& Deprecated=false& Dubbo=2.0.2 & amp; The dynamic=true& Generic=true& Group=guangxin - system& The heartbeat=60000 & amp; Interface=com. Alibaba. Cloud. Dubbo. Service. DubboMetadataService& The methods=getAllServiceKeys getServiceRestMetadata, getExportedURLs getAllExportedURLs& Pid=14720 & amp; IP qos. Accept. Foreign.=true& Qos. Enable=false& Qos. Port=8091 & amp; Register. IP=192.168.2.187 & amp; Release=2.7.8 & amp; Remote. Application=guangxin - system& Revision=2.2.3. RELEASE& Side=consumer& Sticky=false& Timestamp=1610612703673 & amp; Version=1.0.0) failed to connect to server/192.168.73.1:20880 client - side timeout 3000 ms (3372 ms) elapsed: from netty client 192.168.2.187 using dubbo version 2.7.8


Dubbo configuration
 
Dubbo:
Application:
Name: payment - dev
Consumer:
Check: false
Protocol:
Name: dubbo
Port: 1
Host: 192.168.2.187
Registry:
Address: spring -- cloud://1651541:9587

The machine's IP is not 192.168.73.1, is 192.168.1.50

CodePudding user response:

Suggest you use nacos as registry, don't use springcloud, local run first, then set up different servers
  • Related