WillemJiang closed pull request #69: add service center m1 fix method under Linux URL: https://github.com/apache/incubator-servicecomb-website/pull/69
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/_users/cn/setup-environment.md b/_users/cn/setup-environment.md index 749f5a5..08f04ef 100644 --- a/_users/cn/setup-environment.md +++ b/_users/cn/setup-environment.md @@ -46,6 +46,10 @@ last_modified_at: 2018-04-13T10:01:43-04:00 ```bash bash apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64/start-service-center.sh ``` + + 注意:前端(frontend)在Linux环境下默认会绑定ipv6地址,导致浏览器报错,修复办法为:先修改conf/app.conf中的httpaddr为外部可达网卡ip,之后修改app/appList/apiList.js中`ip : 'http://127.0.0.1'`为对应ip,最后重启ServiceCenter即可。 + {: .notice--warning} + </div> </div> diff --git a/_users/setup-environment.md b/_users/setup-environment.md index fdc8316..fe3779c 100644 --- a/_users/setup-environment.md +++ b/_users/setup-environment.md @@ -46,6 +46,10 @@ There are two ways to start a stand-alone service center service: ```bash bash apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64/start-service-center.sh ``` + + NOTE:Frontend will bind ipv6 address under Linux, so browser may report error, fix method:Modify httpaddr in conf/app.conf with a reachable ip, then modify `ip : 'http://127.0.0.1'` in app/appList/apiList.js with same ip, final restart ServiceCenter. + {: .notice--warning} + </div> </div> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services