Home > other >  Micro service using etcd found the problem
Micro service using etcd found the problem

Time:09-21

Use the go - micro service framework, the unit startup services found no problem normal use but wants to other machines, this machine can run services with its own client connection is a problem, see a tutorial on the net also used the startup etcd - name etcd0 - initial - advertise - peer - urls http://192.168.31.12:2380 - listen - peer - urls http://192.168.31.12:2380 - listen - the client - urls, http://192.168.31.12:2379, http://127.0.0.1:2379, advertise - the client - urls, http://192.168.31.12:2379, http://127.0.0.1:2379 command after the server is connected not great god, please help me with the genuflect is begged

CodePudding user response:

You specify the registration service to the Endpoints of etcd cluster IP address is what?

CodePudding user response:

You deploy the etcd by certificate?

CodePudding user response:

Could you tell me how to add a certificate

CodePudding user response:

Deployed in ali cloud server but binding public IP will be prompted to the address in the context of invalid

CodePudding user response:

Can consult with consul service discovery, https://www.hrefs.cn/article/go-micro-with-consul-in-action-on-line
  • Related