Reference

shutdown frontend

Delete a frontend and release the ports on which it listens.

Description Jump to heading

The shutdown frontend command is a drastic action. It deletes the frontend from the load balancer, releasing any ports it was bound to and removing it from the Stats page. Use this when no other option will suffice to free up the ports.

Examples Jump to heading

Below, we delete the frontend fe_main:

bash
echo "shutdown frontend fe_main" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "shutdown frontend fe_main" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

See also Jump to heading

If this page was useful, please, Leave the feedback.

© 2023 HAProxy Technologies, LLC. All Rights Reserved
Manage Cookie Preferences