When using prefect config set PREFECT_API_URL="<ht...
# ask-community
a
When using prefect config set PREFECT_API_URL="http://192.168.128.58:4200/api", are there any other settings I need to set to match this? I'm struggling to connect to the prefect UI remotely
z
Have you set that in the place you are hosting your UI?
a
So I also need to do the below? prefect config set PREFECT_UI_API_URL="http://192.168.128.58:4200/api"
But yes, I've set that on the server hosting the UI
z
And that address is accessible from the user’s machine too?
PREFECT_UI_API_URL
defaults to
PREFECT_API_URL
so if you already set the one it should be equivalent
a
I think the issue is that I'm trying to set this up using systemmd when prefect is within a venv
I'm getting No such file or directory: 'uvicorn', so I'm now investigating how to make sure systemmd activates the venv before running prefect server start somehow
a
Ah ok, bit over my head that, but it seems won't work the way I'm attempting