# 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 Balancing.
4. Locate the load balancer and click its name.
5. Click Listeners.

   Shared load balancers: Locate the target listener and click on the right of its name. In the Modify Listener dialog box, modify the parameters as needed.

6. 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 Balancing.
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.
   - For a shared load balancer listener, locate the listener and click on the right of its name. In the Modify Listener dialog box, modify the parameters as needed.
   - For a classic load balancer listener, locate the listener and click Delete in the Operation column.
6. Click Yes.

Parent topic: Listener