How to Change the Port and Host of the Apache Airflow® API Server
Apache Airflow® serves its UI and REST API from the API server, on port 8080 and on every network address of your computer by default. Port 8080 is a popular one, so it's often taken by another program, and "every address" is more than a local setup needs. Two settings in the [api] section of airflow.cfg change both. This guide moves the API server to 127.0.0.1:8086 on Airflow 3.4.0.
