curl: (7) Failed to connect to 127.0.0.1 port 6969 after 0 ms: Couldn't connect to server
Bringing this up again due to lack of fixes (at least on my end) and inactivity of other threads.
Ubuntu 24.04.1 LTS x86_64
Hi, could you elaborate when this issue occurs? Also, could you show the contents of ~/.local/share/althea? Thanks
locaton: Russia
OS: EndeavourOS (Arch Linux)
locaton: Russia OS: EndeavourOS (Arch Linux)
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 127.0.0.1 port 6969 after 0 ms: Could not connect to server
I've grappled with this same issue and was finally able to resolve it after a couple of attempts. Basically, the firewall blocks the port for some reason. Here's how to resolve it:
-
sudo ufw allow 6969/tcp - to confirm the rule was added
sudo ufw status - if disabled,
sudo ufw enable
The above seemed to resolve the issues with starting the anisette server.
side note: in the process of troubleshooting, currently running anisette in a docker container, based off here
It caused a "curl: (56) Recv failure: Connection reset by peer" error which pushed me to the firewall.
I am not liable for any potential security risks as a result of modifying your firewall rules, to remove the rule, run sudo ufw delete allow 6969/tcp
locaton: Russia OS: EndeavourOS (Arch Linux)