Show Table of Contents
5.2.5. 配置端口偏移
配置端口偏移
选择管理 CLI 或管理控制台来配置您的端口偏移。使用管理 CLI 配置端口偏移
使用管理 CLI 来配置端口偏移。编辑端口偏移
使用write-attribute操作来为端口偏移属性编写新的值。下面的例子更新了 server-two 的socket-binding-port-offset值为 250。这个服务器是默认本地主机组的成员。为使改动生效,服务器需要重启。[domain@localhost:9999 /] /host=master/server-config=server-two/:write-attribute(name=socket-binding-port-offset,value=250)
确认端口偏移属性
通过include-runtime=true参数运行read-resource操作来确认值已修改以开放服务器模型里所有当前的值。[domain@localhost:9999 /] /host=master/server-config=server-two/:read-resource(include-runtime=true)
使用管理控制台来配置端口偏移
使用管理控制台来配置端口偏移。登录到管理控制台。
登录到您的受管域的管理控制台。选择 Domain 标签页
从屏幕顶部选择 Domain 标签页。编辑端口偏移属性
- 在
Available Server Configurations列表里选择服务器并点击属性列表顶部的 按钮。 - 在 Port Offset 字段里输入想要的值。
- 点击完成。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.