Errno 111 connection refused
I’m trying to write a program that transfers realtime video from seek thermal integrated with raspberry pi 3b+, flask server with websocket protocol and PC, where the raspberry pi acts as a client that captures and streams the realtime frames to the flask server, and the pc acts as a server that receive frames and apply people detection using yolov8 AI model to them before displaying them, but unfortunately when i try to run the code on both raspberry pi and pc i get connection refused, can someone help me please?