https://prefect.io logo
Title
d

Dave Lauer

02/02/2023, 7:14 PM
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

Zanie

02/02/2023, 7:30 PM
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 #prefect-community channel since it’s not for the UI.
There’s a
PREFECT_ORION_API_HOST
setting as well.
🙌 1
d

Dave Lauer

02/02/2023, 7:41 PM
Yes, that worked! Thanks - and noted on the channel.
m

Markel Flores

02/07/2023, 10:09 AM
Hi, just for clarification, what's the difference between
PREFECT_ORION_API_HOST
,
PREFECT_UI_URL
,
PREFECT_ORION_UI_API_URL
&
PREFECT_API_URL
??