I want to use a UDP app, and somehow receiving and replying to packets doesn’t work. I had it work once, for a certain deployment, but can’t remember what region that was in. For now, I can reliably reproduce the problem with ncat.
After the app is successfully deployed, I run ncat -u -4 -v ncat-test.fly.dev 10000 and would expect any input to be echo’ed back by the server, which isn’t happening. On the server side, due to the -v flag, there should be a line Ncat: Connection from X.X.X.X., but nothing is printed.
Am I doing something wrong? What’s the problem here?
You’re completely right, my original app now works after a new launch as well, it just took a few minutes until UDP connections worked. Thanks for looking into this anyway and the super-fast response!
Hi there, replying to this old post because I’m having the exact same problem - intermittent UDP connectivity after a machine is auto started. I have set fly-global-services accordingly, pushed the same internal port, provided a dedicated IP, etc. It works… sometimes. Not really sure what’s causing this.
I am running a game server that communicates over tcp/459 which is the port that will auto-start the machine. Activity on udp/24454 should not start/stop the machine and there should only ever be one machine started.
It’s specific to the configuration for the game server. There is a property in their config file to override the bind address. It works intermittently so I don’t think it’s a problem with the config. Though the last couple of days it seems to have been working more consistently. Maybe there was a Fly.IO service outage?