This has to listen on 0.0.0.0
: firstsocketio/server.py at main · omarcostahamido/firstsocketio · GitHub
Right now, it’s set to only listen on 172.0.0.1, we connect from a non-local (but still private) IP so we can’t currently connect to your app. This causes health checks to fail.
Once you deploy with 0.0.0.0
, you should check two things:
-
fly status --all
to see if there are failing VMs -
fly vm status <id>
to look at exit codes or health check failures
This is not related to cors, it’s just our ability to talk to your application process. fly-global-services
is only for UDP apps, not relevant to TCP.