The problem shown in your screenshot is indicative of a problem communicating on a local port. It is thus highly likely to be caused by your antivirus, firewall, VPN, proxy or network configuration. I suggest you experiment with such things, adding an exception for Anki if you use a third-party antivirus, firewall or VPN, and so on.