I am confused on why port is an integer and then a string in services.ports example

Hello. I am confused by this configuration thing here: Fly Launch configuration (fly.toml) · Fly Docs

Why exactly is the first entry port (80) is integer but the one below (“443”) is a string? Which one am I supposed to use? Right after the first entry, it says:

" * port : An integer representing the external port to listen on (ports 1-65535). "
So, why is the one below in quotes?

Sorry for any inconvenience and thanks for any help in advance.

I would go with the integer. The one with the quotes should be a typo.

You’re right, the docs are inconsistent. I prefer to use ints (ex) and they’ve worked without hiccups.

Btw, the docs are open source (link), and you can opt to submit a PR.

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