SGD Gateway 用于传入连接的接口和端口称为绑定端口。默认情况下,SGD Gateway 使用所有接口上的 TCP 端口 443 作为绑定端口。
要更改绑定端口,请使用带 --binding
选项的 gateway config edit 命令。例如,要将绑定端口更改为 TCP 端口 4443,请运行以下命令:
# /opt/SUNWsgdg/bin/gateway config edit --binding *:4443
或者,也可以通过在 SGD Gateway 主机上运行 /opt/SUNWsgdg/bin/gateway config create 命令来更改绑定端口。此命令提示您指定用于传入代理连接的接口和端口。
gateway config create 命令将创建新配置并覆盖您以前所做的任何配置设置。
必须重新启动 SGD Gateway 才能启用所做的任何更改。