Use Case :


Sometimes we need to open Airlflow UI to do operations directly on Airflow such as marking DAG as failed


Run below commands to on Infoworks server to start Airflow webserver


source /opt/infoworks/bin/env.sh

source /opt/infoworks/apricot-meteor/infoworks_python/infoworks/orchestrator/bin/cli.sh

export POSTGRES_SSL_URL=""

export WEBSERVER_CERT=""

export WEBSERVER_KEY=""

airflow webserver




From local machine, if you want to access Airflow UI on port 3133 or any other port that is open on customer env use below commands to enable local port forwarding, 


ssh -L LOCAL_PORT:DESTINATION:DESTINATION_PORT [USER@]SSH_SERVER


ssh -N -L 3133:<edge-node-ip>:3003 <infoworks-user>@<edge-node-ip>



After this use local browser and type 'http://localhost:3133' to access Airflow UI