AltLinux icon indicating copy to clipboard operation
AltLinux copied to clipboard

curl: (7) Failed to connect to 127.0.0.1 port 6969 after 0 ms: Couldn't connect to server

Open 25hawkeye opened this issue 1 year ago • 4 comments

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

25hawkeye avatar Nov 02 '24 02:11 25hawkeye

Hi, could you elaborate when this issue occurs? Also, could you show the contents of ~/.local/share/althea? Thanks

vyvir avatar Nov 03 '24 23:11 vyvir

изображение locaton: Russia OS: EndeavourOS (Arch Linux)

lKomentatorl avatar Nov 16 '24 14:11 lKomentatorl

изображение 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

lKomentatorl avatar Nov 16 '24 14:11 lKomentatorl

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

18wchtr66 avatar Dec 20 '24 01:12 18wchtr66