I have installed prefect orion in a VM. do i need ...
# prefect-server
s
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
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
ok, thank you Kevin
z
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
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
Looks like you’re trying to connect to
/graphql
?
Are you running a v2 agent?
s
ohh. i used the same agent I was using for 1.0 I'll go with v2 agent