https://prefect.io logo
Title
e

Enda Peng

04/22/2021, 4:27 PM
I find an interesting behavior of the local server. I used to launch server on my host A and created some data. Today I try to start server on host B and access its UI with browser on host A, I find that all my flows/projects etc are visible to host B UI because the resources are loaded as
<localhost://xxxx>
, others who access server B UI can’t see it
n

nicholas

04/22/2021, 4:30 PM
Hi @Enda Peng - I'm not sure I understand; if you're accessing data at localhost, only your local machine will be able to see it.
e

Enda Peng

04/22/2021, 4:30 PM
edit it a little bit to make it more clear
basically, I run the local server start command on my remote machine. Then access the UI hosted by my remote machine with a browser in my local machine.
n

nicholas

04/22/2021, 4:33 PM
I think I understand - have you configured the
apollo_url
setting for your remote machine? My guess is there's some interference where you're pointing to the wrong API
e

Enda Peng

04/22/2021, 4:33 PM
Then local data show up on the UI, I checked the console output, it locates resource as
localhost:xxx
, so when my teammate access the UI, he see nothing
yup, I think I’d have to config all the host:ports