Hey guys, one question... I experienced this on multiple systems, usually all ubuntu server lts 20.04, installing with pip.
On every instance it will just not work out of the box. It will fail to connect to the graphql endpoint on localhost:4200. Sometimes it worked to set the docker internal ip of the container, sometimes it only worked to set the public ip (very insecure!), but it just never works out of the box - which is very annoying.
Am I missing something?
Steps I usually do
• new ubuntu server
• install docker (official repo) & docker-compose
• apt install python3 python3-dev python3-pip
• pip install prefect
• prefect backend server
• prefect server start
• prefect agent local start
And then I won't get a connection but it will redirect me to the "Welcome to your prefect ui" screen, where I try out one of the abovementioned IPs and - if I'm lucky - it will work, if not it will not work at all on that machine, even when pruning docker & reinstalling everything
curl localhost:4200, 127.0.0.1:4200, dockerinternalip:4200 all work fine