apolloconfig / apollo-quick-start

Apollo Quick Start
692 stars 1.85k forks source link

apollo怎么设置adminService和ConfigService的EurekaIP #45

Closed NoFindBug closed 3 years ago

NoFindBug commented 4 years ago

apollo自带的Eureka好像是注册路径是内定的,去那里修改呀,我想把注册Eureka的IP设置成外网IP;我现在的情况是外网可以访问到apollo但是注册中心中的服务路径是内网的IP地址,怎么把内网ip改成外网ip

nobodyiam commented 4 years ago

启动参数增加-Deureka.instance.ip-address=${指定的IP}即可,也可以通过OS Environment Variable,如EUREKA_INSTANCE_IP_ADDRESS=${指定的IP}

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had activity in the last 21 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.