docker deployment springcloud Feign component can not access problems

If that:

docker post-deployment service registration ID so.

This led to Feign visit in less than a call to the other components of the time.

 

 

 

solve:

In docker deployment instructions to add EUREKA_INSTANCE_IP-ADDRESS = [ your IP] .

 

 

 

docker build -t ams-administration:v1.0.0 .
&& docker run
-p 6097:6097
-v /data/ams/logs:/data/logs
--env EUREKA_INSTANCE_IP-ADDRESS=192.168.16.173
--name ams-administration
ams-administration:v1.0.0 

 

  

Guess you like

Origin www.cnblogs.com/bingco/p/11942382.html