Zinovev Daniil

11/25/2022, 10:16 AM
Hi all! I installed prefect orion on a linux VM. I get an error when I open the web interface.Can't connect to Orion API at https://my_ip/api. Check that it's accessible from your machine. I used different IPs in the set PREFECT_API_URL command. I think I'm not the first with this issue. Help)

Tim Galvin

11/25/2022, 1:43 PM
Make sure you start it listening on the correct interface

Ryan Peden

11/25/2022, 6:21 PM
Hi Zinovev, I think you will want to set PREFECT_ORION_UI_API_URL on your Linux VM to match the externally-visible IP/hostname of the server. You can run
prefect config set PREFECT_ORION_UI_API_URL=http://<your server address>
or set a
environment variable. Either should work.