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.
This commit is contained in:
parent
f599a76aba
commit
8056e510c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue