Ovo Ojameruaye
12/19/2021, 1:31 AMConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
. I can't tell if this is related. I created a config.toml file
# base configuration directory
home_dir = "C:/Users/XXX/.prefect"
backend = "server"
[server]
host = "<http://XXXXXX>"
port = "4200"
host_port = "4200"
endpoint = "${server.host}:${server.port}"
I am certain the server is running on the host ip addressAnna Geller
[server]
[server.ui]
apollo_url = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
And on the agent machine:
[server]
endpoint = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
Ovo Ojameruaye
12/20/2021, 8:16 AMprefect server start --server-port=8501
, updated the config file and now the UI (localhosr:8080) just tries to load but never does.Ovo Ojameruaye
12/20/2021, 8:28 AM[server]
endpoint = "http://<internal_ip>:4200/graphql"
[server.ui]
apollo_url = "http://<internal_ip>:4200/graphql"
and open the UI at localhost:8080 and check the connection to server, I see the image below.
Shouldn't that show my ip rather than localhost. How can I edit the config file so I connect to the UI using <ip_address>:8080 rather than localhost:8080.Anna Geller
prefect server start --server-port=8501,
your config.toml would need to be:
[server]
endpoint = "<http://YOUR_MACHINES_PUBLIC_IP:8501/graphql>"
[server.ui]
apollo_url = "<http://YOUR_MACHINES_PUBLIC_IP:8501/graphql>"
Anna Geller
[server]
endpoint = "<http://YOUR_MACHINES_PUBLIC_IP:8501/graphql>"
Ovo Ojameruaye
12/20/2021, 2:30 PMAnna Geller
prefect server start --server-port=8501 --expose
Ovo Ojameruaye
12/31/2021, 8:20 AM