yhs0092 commented on issue #1276: 云服务器上 microservice rest配置不支持公网IP
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1276#issuecomment-514920399
 
 
   建议参考一下这篇资料   
[服务监听地址和发布地址](https://docs.servicecomb.io/java-chassis/zh_CN/build-provider/listen-address-and-publish-address.html)。
   
一般大家配置的`servicecomb.rest.address`是监听地址,而实际注册到sc的endpoint是由发布地址决定的。平常大家没有配置发布地址,发布地址是由Java-Chassis框架从监听地址推断出来的。如果不满足你的场景的话,也可以试试直接配置`servicecomb.service.publishAddress`来显式定义发布地址。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to