Procedure

  1. Log on to the Container Service console.
  2. Click Services in the left-side navigation pane.
  3. Select the cluster from the Cluster list.
  4. Click Update at the right of the service (nginx in this example).


  5. Enter the host port to be mapped in Port Mapping.

    To expose multiple ports, click the plus icon and enter multiple host ports and container ports.



  6. Click Update.
  7. Click the service name (nginx in this example).

    The host port maps to the container port and the port connection using Telnet is successful.