Help Center> Elastic Load Balance> User Guide> Listener> Modifying or Deleting a Listener
Updated on 2024-01-05 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.

Constraints

If modification protection is enabled for a listener, the listener cannot be deleted or modified.

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 Networking > 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 Networking > Elastic Load Balance.
  4. Locate the load balancer and click its name.
    • 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.
  5. Click Listeners, locate the listener, and click on the right of its name.
  6. Click Yes.