Very new backend developer: How to call my apps endpoints now that it's deployed on fly.io?

I have deployed a very basic “Hello World” app on fly.io with a single endpoint /hello.

How do I call that endpoint?

The host name doesn’t seem to work. The app also says “Pending”. And the other one says “Suspended”.

Why are there two apps when I supposedly only deployed one app?

The suspended app has one machine. That should auto-start when the endpoint is called right?

Am I supposed to add an IP address? I don’t want to spend any money on this at this point.

Thanks and happy new year. :slight_smile:

The suspended app is the free builder that is building your docker image. If you don’t want this app at all, you can fly apps destroy BUILDER_APP_NAME and then when you deploy be sure to use --local-only to build the Docker image using your local docker daemon, i.e. fly deploy --local-only.

This is because you don’t have any Machines in this app yet. How did you create this app? Have you tried to fly deploy it yet?

Ah okay, thanks.

And about the endpoints? How do I call my app?

If you go to the dashboard and click on your app, you should see a section labelled Hostname, underneath which you’ll find a URL of the form https://my-app.fly.dev. To visit your endpoint, go to https://my-app.fly.dev/hello in a browser.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.