解决nacos启动的时候直接注册的地址是虚拟机的地址而不是我们需要的指定的IP的地址。
--spring.cloud.inetutils.preferred-networks=172.20.10.7
京公网安备 11010502049817号