Cross-domain settings

更新时间:
复制 MD 格式

You can deploy a gateway in two network-isolated areas to enable communication between them. This topic describes how to configure dual-gateway cross-domain settings in API Gateway.

Note

Only administrators can configure cross-domain settings. To configure role permissions, contact the Ant Group technical support team.

Add a workspace

  1. Log on to the console.

  2. In the navigation pane on the left, click Global Settings > Cross-domain Settings.

    Note
    • In a dual-gateway cross-domain communication scenario, you must maintain global information for data centers (network areas). This information includes the gateway and registry center addresses for each area to ensure proper network communication.

    • This is a global configuration that only administrators can modify. The configuration takes effect in all other workspaces after it is saved.

  3. In the upper-right corner of the page, click Edit > Add Zone to add a workspace.

    The following table describes the parameters.

    Parameter

    Description

    Zone Name

    Required. Enter a name for the zone.

    Gateway Name

    Required. Enter a name for the gateway.

    Gateway Address

    Required. Enter the gateway address.

    Protocol

    Required. Select the gateway protocol type.

    Note

    Only the CRPC protocol is supported.

    Port Number

    Required. The port number of the gateway. Only numbers from 0 to 65535 are supported.

    To add multiple gateways in one workspace, click Add Gateway, enter the required information, and then save the settings.

  4. When you are finished, click Submit to complete the workspace setup.

    Note

    You must configure at least two workspaces for dual-gateway cross-domain settings.