https://prefect.io logo
#prefect-ui
Title
# prefect-ui
l

Lisa Averett

01/10/2023, 9:06 PM
Hi I just installed prefect 2 on EC2. I'm having trouble with the settings, it seems like the dashboard will run if I set PREFECT_API_URL to "http://<ec2 ipv4 address>:4200/api", but the agent will only work if I set PREFECT_API_URL tp "http://0.0.0.0:4200/api". Any thoughts? Am I using the wrong setting(s) here? I've also set these: PREFECT_ORION_API_HOST = "0.0.0.0" PREFECT_ORION_API_PORT = "4200" Thanks.
1
z

Zanie

01/10/2023, 9:08 PM
Instead of setting the
PREFECT_API_URL
to your public IP, set
PREFECT_UI_API_URL
l

Lisa Averett

01/10/2023, 9:27 PM
That seemed to work, thank you!