I was following this example: Run a Machines App Using flyctl · Fly Docs and the steps I followed weren’t working: it just shows a spinner when I visit the URL for my app.
I think there’s an error in the example command. It shows this command:
fly m run . -p 443:8080/tcp:tls:http -p 80:8080/tcp:http --region yyz -a testrun
But in the Dockerfile it binds port 4999.
I changed that command to
fly m run . -p 443:4999/tcp:tls:http -p 80:4999/tcp:http --region ams -a myapp and it worked
Hi @Yaeger, sorry, that doc is not great for dipping into. If you read it all the way through, that error is planted there so it can be fixed later in the article.
If you’re interested in running a V2 (Machines) app, the preview docs are a better reference for the current state of things.
Ahhhhh I see what you mean now. Okay, nevermind then
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.