From 8056e510c58122568d1f218347c871d9d77e5cd0 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 3 May 2026 06:41:04 +0200 Subject: [PATCH] phantom-ship: bind shelfish to '::' so it listens on both IPv4 and IPv6 ZT mesh addresses are IPv6; uvicorn on 0.0.0.0 only listens on IPv4 so vps-relay's caddy got 'connection refused' over the mesh. --- nixos/hosts/phantom-ship.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/phantom-ship.nix b/nixos/hosts/phantom-ship.nix index 87efe78..9df8375 100644 --- a/nixos/hosts/phantom-ship.nix +++ b/nixos/hosts/phantom-ship.nix @@ -284,7 +284,7 @@ in }; serviceConfig = { WorkingDirectory = "/home/danny/shelfish"; - ExecStart = "${pythonEnv}/bin/python -m uvicorn server:app --host 0.0.0.0 --port 8081"; + ExecStart = "${pythonEnv}/bin/python -m uvicorn server:app --host :: --port 8081"; Restart = "on-failure"; RestartSec = 10; User = "danny";