I can’t seem to get private networking working. I have 2 apps:
purple-wave-4639 (has exposed ports / is the recipient of private networking requests)
quiet-glade-3869 (is the sender of the private requests)
In my sender I have experimental private_network=true and can confirm:
However all my requests to [fdaa:0:1bbc:a7b:85:1c66:438a:2] fail, on both the internal and public ports defined by the application. Hitting the application on the public ipv4 address and ports does return a response so the app is functional.
This is correct! Depending on the app stack, you can either bind to something like :: to listen on all IPv4 and IPv6 addresses, or bind specifically to the 6pn address.
Binding to either _local_ip.internal or fly-local-6pn will also work for some runtimes. It’s wildly inconsistent. You can test the latter by adding an entry to your local/etc/hosts and running your app locally.