Hi - I'm sure this is something simple, but I cann...
# prefect-ui
d
Hi - I'm sure this is something simple, but I cannot get the Orion server to bind to any other interface but 127.0.0.1 (and I'm setting it up on a remote server, so I cannot access it via
localhost
). I've tried to set
PREFECT_API_URL
to
http://<ipv4 address>:4200/api
using the command
prefect config set
but when the Orion server starts it still says 127.0.0.1. I've also tried setting
PREFECT_ORION_UI_API_URL
and
PREFECT_UI_URL
. I see the correct IP addresses in the
~/.prefect/profiles.toml
file, but regardless when I run
prefect orion start
all the addresses are 127.0.0.1. This is on Linux/Ubuntu.
1
z
I believe you’re looking for
prefect orion start --host 0.0.0.0
Meta note, in the future this would be better placed in the #CL09KU1K7 channel since it’s not for the UI.
There’s a
PREFECT_ORION_API_HOST
setting as well.
🙌 1
d
Yes, that worked! Thanks - and noted on the channel.
m
Hi, just for clarification, what's the difference between
PREFECT_ORION_API_HOST
,
PREFECT_UI_URL
,
PREFECT_ORION_UI_API_URL
&
PREFECT_API_URL
??