https://prefect.io logo
#prefect-server
Title
# prefect-server
s

Shuchita Tripathi

04/12/2022, 3:57 PM
I have installed prefect orion in a VM. do i need any flag similar to --expose to start the server to see the dashboard? --expose is not working. and in vm, the server has started but I can't access it from the browser. in the security group, i have 4200, 4201, 8080 and few other ports open, as I did with prefect 1.0
k

Kevin Kho

04/12/2022, 3:59 PM
For Orion, the UI is hardcoded to use the API at localhost. So it can’t connect to a remote API yet. This will be changed next release
s

Shuchita Tripathi

04/12/2022, 4:02 PM
ok, thank you Kevin
z

Zanie

04/12/2022, 4:02 PM
The API should still be accessible at
/api
For example,
<http://127.0.0.1:4200/api/docs>
is browsable. But yeah the dashboard will not work unless you’re on the same machine until our next release 🙂
(possibly the one after even, the implementation is in review right now)
s

Shuchita Tripathi

04/12/2022, 4:06 PM
ok. I'll see if I can get my usecase working without the UI
if I don't use UI, can I still install it on a VM and have agent on my local machine? I am getting error connecting agent. port 4200 is open in security group
z

Zanie

04/12/2022, 5:57 PM
Looks like you’re trying to connect to
/graphql
?
Are you running a v2 agent?
s

Shuchita Tripathi

04/12/2022, 5:58 PM
ohh. i used the same agent I was using for 1.0 I'll go with v2 agent
32 Views