ergo@ergo-virtual-machine:~/workspace/flight-school$ fly -t local pipelines targeting http://127.0.0.1:8080 name paused hello-world no ergo@ergo-virtual-machine:~/workspace/flight-school$ fly -t local execute -c build.yaml targeting http://127.0.0.1:8080 executing build 7 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused gzip: invalid magic tar: Child returned status 1 tar: Error is not recoverable: exiting now exit status 2 failed
Sure,
it seems the solution is to never use 127.0.0.1 (loopback),
instead one should use the public IP of the interface.