Updated on 2024-04-18 GMT+08:00

Modifying or Deleting a Listener

Scenarios

You can modify a listener as needed or delete a listener if you no longer need it.

Deleted listeners cannot be recovered.

Frontend Protocol/Port and Backend Protocol cannot be modified after you have configured them. If you want to modify the protocol or port of the listener, add another listener to the load balancer.

Modifying a listener

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
  4. Locate the load balancer and click its name.
  5. Modify the listener in either of the following ways:
    • On the Listeners page, locate the listener, and click Edit in the Operation column.
    • Click the name of the target listener. On the Summary tab page, click Edit on the top right corner.
  6. On the Edit dialog box, modify parameters, and click OK.

Deleting a listener

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
  4. Locate the load balancer and click its name.
  5. Click Listeners, locate the listener, and click Delete in the Operation column.
    • If the listener has backend servers associated, disassociate the backend servers before deleting the listener.
    • If HTTP requests are redirected to an HTTPS listener, delete the redirect before deleting the HTTPS listener.
    • If the listener has a forwarding policy, delete the forwarding policy before deleting the listener.
    • After a listener is deleted, the associated backend server group is also deleted.
  6. In the displayed dialog box, enter DELETE.
  7. Click OK.