Hello. I’m trying to configure an app but it’s impossible. I’ve read the documentation and the examples but nothing helps.
My app should be deployed and accessible on the port 2201 and HTTP (No https for now), and internally, it will make a call to another external api on the port 2101 (different port) HTTP
Each service is a map of an internal port to a (possibly different) external port.
Since http services running on ports 80 and 443 is a common use case, there is a special syntax for that case, but since that case doesn’t apply here, you will need to use the more general syntax.
Only define services in your fly.toml that you want externally visible.
Are you using a dedicated ipv4 address (see: Public Network Services · Fly Docs). Shared ipv4 (the default for new applications) only works for ports 80 and 443.