https://prefect.io logo
Title
k

krishna chaitanya

11/11/2021, 1:23 PM
"Couldn't connect to Prefect Server at *http://localhost:4200/graphql*" i get this when i try to run docker version in my local how to fix this anyone please help
👀 1
e

Evan Sutherland

11/11/2021, 1:25 PM
Hey @krishna chaitanya, let me see if I can find an answer for you
also, not sure if you saw this documentation for docker-agents, might be helpful https://docs.prefect.io/api/latest/cli/agent.html#docker-start
Hey @krishna chaitanya, turns out you just need to set the backend to server with the following CLI command
prefect backend server
k

krishna chaitanya

11/11/2021, 5:12 PM
I did run cli command yet im facing issue. Im facing issue "Couldn't connect to Prefect Server at *http://localhost:4200/graphql*" when i click agents on UI. How to test agents please throw some light thank you :)
a

Anna Geller

11/11/2021, 5:33 PM
the issue seems to be duplicated: continuing the discussion here https://prefect-community.slack.com/archives/CL09KU1K7/p1636636632389000