Hello so I have a backend api which I only want to expose to another app. So this backend only has a private ipv6 address. I created a wireguard tunnel and I am able to ping6 the app-name.internal but I am unable to curl my api. My toml file for my backend looks like this.
# fly.toml app configuration file generated for chatdataroots-backend on 2024-06-04T08:38:22+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'chatdataroots-backend'
primary_region = 'ams'
[build]
dockerfile = 'backend.Dockerfile'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
When I fly ssh console
and do curl -I http://0.0.0.0:5328
I get a response from my API.
But when Im connected with wireguard on my local pc and try to curl this app I never get anything. I tried curl -I http://chatdataroots-backend.internal
and curl -I http://chatdataroots-backend.internal:5328
and also curl -I http://0.0.0.0:5328
but i always get curl: (7) Failed to connect to .... Couldn't connect to server
All help is greatly appreciated!