Home > Back-end >  Docker springcloud project can't starting up registration service
Docker springcloud project can't starting up registration service

Time:10-05

I springcloud project can normal registration, on the unit on the docker bundled image after service provider can't registration service

CodePudding user response:

Localhost to 127.0.0.1 try and then if not use the docker exec - it [eureka container id] bash into eureka registry docker container,

Then use the cat/etc/hosts command to check the container's IP

CodePudding user response:

Recent projects will use the docker deployment, I also encountered such a problem,
Questions such as:
Deployed properly, had been deployed is normal, the config centre deployment configuration, consumer configuration (call center) start to go wrong, prompt address is not available, print out the IP is container, IP is not the IP of the server machine,
Solve, startup so configuration under specified IP, eureka. Instance. IP address=${CONFIG_HOST}



  • Related