[doc] Add note for rabit port. [skip ci] (#8879)

This commit is contained in:
Jiaming Yuan 2023-03-08 19:00:10 +08:00 committed by GitHub
parent 85c3334c2b
commit 8c16da8863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,11 +498,15 @@ dask config is used:
with Client(scheduler_file="sched.json") as client:
reg = dxgb.DaskXGBRegressor()
# or we can specify the port too
# We can specify the port for XGBoost as well
with dask.config.set({"xgboost.scheduler_address": "192.0.0.100:12345"}):
reg = dxgb.DaskXGBRegressor()
Please note that XGBoost requires a different port than dask. By default, on a unix-like
system XGBoost uses the port 0 to find available ports, which may fail if a user is
running in a restricted docker environment. In this case, please open additional ports in
the container and specify it as in the above snippet.
************
IPv6 Support