Help Center/ API Gateway/ User Guide/ Managing APIG Gateways/ Customizing Gateway Inbound Ports
Updated on 2026-11-04 GMT+08:00

Customizing Gateway Inbound Ports

If different service teams need to provide their own APIs through the same API gateway and require port-level isolation, you can customize inbound ports. APIG supports inbound port customization for gateways so that clients can access different backend services through different ports.

Constraints

  • Only one protocol can be configured for a port. Only HTTP and HTTPS are supported.
  • For details about the constraints on independent domain names and ports, see Constraints.

Customizing Gateway Inbound Ports

  1. Go to the APIG console.
  2. In the navigation pane, choose Gateways.
  3. Click Access Console or the name of the target gateway.
  4. On the Custom Inbound Ports tab page, click Add Inbound Port.

    Select a request protocol and enter the inbound port number based on the actual service requirements.

    Table 1 Inbound port configuration

    Parameter

    Description

    Protocol

    Request protocol for accessing a gateway. Both HTTP and HTTPS are supported. Select HTTPS for services that require high data transmission security. HTTPS must be used together with an SSL certificate.

    Inbound Port

    Port number for accessing a gateway. Range: 1024 to 49151.

  5. Click OK.

    In the port list, if the new inbound port and its status are displayed as normal, the port is successfully created.

Related Documents

  • In the Independent Domain Names area on the Group Information tab, change the port bound to an independent domain name to the new inbound port or select the new inbound port when binding an independent domain name. In this way, you can access different backend services through different ports.