'Want to run Airflow in my IP address not in localhost
Currently airflow is running on localhost but I want to run it on my IP address so that one can access my airflow with specific username and password. What changes should I make to configure of airflow to change the host from 0.0.0.0:8080 to my IP Address with same port number. Is there any way?
Solution 1:[1]
need to change port number in config.file (web_server_port) & re-run airflow db init
Solution 2:[2]
Try running airflow with the following command -
airflow webserver --port 8080 --hostname 0.0.0.0.
You should also make sure that firewall settings are set such that your machine is discoverable.
You should also allow incoming connections to port 8080.
For eg, ufw allow 8080
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Disalo |
| Solution 2 | Anirudh Bagri |
