Home > other >  Docker + Dubbo + zookeeper error
Docker + Dubbo + zookeeper error

Time:10-17



The docker ran two springboot jars, a name for the monty, a name is Andy,

Errors in the picture is to start the monty, the error change how to solve?

CodePudding user response:

Question: I have solved, share to you, is actually application. The problem of yml configuration, the configuration is wrong, there's a reason for the error is 127.0.0.1:12181, do not have this address in a docker, address is within the docker 172.17.0.2, so application. Yml needs to be configured into a 172.17.0.2:12181 is ok,

CodePudding user response:

Yes ah, you this is clearly ZK no connection is successful, you should use a docker - compose files, so you won't have to write the docker IP
  • Related