García Gimenez Ignacio - 6to 2da
10/08/2021, 3:10 PMKevin Kho
prefect server start --expose
Before you do that, you can edit the config.toml to point to the IP
[server]
[server.ui]
apollo_url = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
And on your machine connecting there:
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
García Gimenez Ignacio - 6to 2da
10/08/2021, 3:17 PMKevin Kho
config.toml
for the machine you’re trying to hit the API with.
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
García Gimenez Ignacio - 6to 2da
10/08/2021, 3:55 PMKevin Kho
PREFECT__SERVER__ENDPOINT
García Gimenez Ignacio - 6to 2da
10/08/2021, 4:16 PMKevin Kho
García Gimenez Ignacio - 6to 2da
10/08/2021, 5:27 PMKevin Kho
localhost
, I think it didn’t get the environment variable? Maybe you can check if the env variable is set. This has to be set on machine communicating with the APIGarcía Gimenez Ignacio - 6to 2da
10/08/2021, 6:16 PMKevin Kho
García Gimenez Ignacio - 6to 2da
10/12/2021, 12:29 PMnicholas
García Gimenez Ignacio - 6to 2da
10/12/2021, 2:34 PMnicholas
printenv