Tim Josefsson
05/22/2023, 1:52 PMprefect server start
and then point my browser to <server-ip>:4200
to get the UI but only get "site can't be reached". However if I simple start a python http.server I can access that machine without a problem. I read online that previously there was a --expose
flag that you could run but it doesn't seem to be a part of prefect2. Does anyone have any experience with getting this working, maybe I'm just missing something?Nate
05/22/2023, 2:46 PMPREFECT_API_URL
locally and on the VM?Tim Josefsson
05/22/2023, 3:16 PMprefecttests-1:~/prefect$ prefect config view
PREFECT_PROFILE='default'
PREFECT_API_DATABASE_CONNECTION_URL='********' (from profile)
PREFECT_API_URL='http://<server-ip>:4200' (from profile)
is that what you mean?Nate
05/22/2023, 3:28 PMTim Josefsson
05/22/2023, 3:37 PMNate
05/22/2023, 3:50 PMPREFECT_API_URL
locally as well as on the VM?Tim Josefsson
05/22/2023, 4:32 PM~/.prefect/profiles.toml
active = "default"
[profiles.default]
PREFECT_API_DATABASE_CONNECTION_URL = "postgresql+asyncpg://*****:*****@localhost:5432/prefect"
PREFECT_API_URL = "http://<vm-ip>:4200/api"
and locally i have the following ~/.prefect/profiles.toml
active = "default"
[profiles.default]
PREFECT_API_URL = "http://<vm-ip>:4200/api"