You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/11/11 14:42:07 UTC
[GitHub] [skywalking] kezhenxu94 commented on issue #5828: set SW_CORE_GRPC_HOST and SW_CORE_REST_HOST by oap docker says bind error
kezhenxu94 commented on issue #5828:
URL: https://github.com/apache/skywalking/issues/5828#issuecomment-725461493
> > Sorry, `fail to bind` is not a thing we could fix. Please check the Jetty/gRPC document and FAQ, maybe some clues there.
>
> I am not familiar with java. If I don't use skywalking oap docker,try the same config by using skywaking binary package,jetty and grpc server can bind eth0 ip successly, this error only happened in docker. Could you give me some clue? Thanks!
@bigwalnut I don't think you can simply configure `SW_CORE_GRPC_HOST` or `SW_CORE_REST_HOST` to `100.65.136.30` because this IP is in your host machine, what you should do is to just bind `0.0.0.0` in the docker container, and map the port of that container to your host ip `100.65.136.30` and port `11800`, take a quick try on something like `docker run -p 100.65.136.30:11800:11800 -p 100.65.136.30:12800:12800 <the-docker-image-name>`
----------------------------------------------------------------
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:
users@infra.apache.org