Hello,
please if someone can help me. We deployed a Flash program on fly.io.
When I use it on a local machine the link is http://127.0.0.1:5000/process
When I deployed it on fly.io we get the next link:
“Visit your newly deployed app at https://df-eng-wispy-wildflower-1123.fly.dev/”
I try to reach the link in this way:
Visit your newly deployed app at https://df-eng-wispy-wildflower-1123.fly.dev:5000/process
But it does not work.
Can someone please tell me what I am doing wrong.
Thank you
Hi… Try posting your full fly.toml
along with the output of fly ips list
and fly services list
. You can use the </>
button in the toolbar to get an area suitable for pasting code and outputs, without them getting interpreted as style formatting, etc.
Generally, problems like this are due to missing handlers or to not having a dedicated IPv4 address.
is the provided link not working? generally, we forward requests from the regular https port to whatever port your backend is listening on.
Hello,
thank you for your feedback. Here is the fly.toml file :
fly.toml app configuration file generated for df-eng-wispy-wildflower-1123 on 2025-07-25T13:53:43+02:00
app = ‘df-eng-wispy-wildflower-1123’
primary_region = ‘fra’
[build]
[http_service]
internal_port = 5000
force_https = true
auto_stop_machines = ‘stop’
auto_start_machines = true
min_machines_running = 0
processes = [‘app’]
[[vm]]
memory = ‘1gb’
cpu_kind = ‘shared’
cpus = 1
Bassicaly I am trying to run a flask API that returns a value.
Given this stanza, the right way to connect is https://df-eng-wispy-wildflower-1123.fly.dev/process
, i.e., leaving out the :5000
that you had been inserting into the URL.
Like @lillian said, the Fly Proxy in the middle will forward port 443, incoming from the public Internet, to port 5000 within your Machine.
If you encounter 502
errors when attempting that, do fly logs -a df-eng-wispy-wildflower-1123
in a terminal—and leave that running while you try the URL again. Typically, there will be messages in the logs about what went wrong within the Machine…