Fly-Forwarded-Port missing

According to fly.io/docs/reference/runtime-environment there should be a Fly-Forwarded-Port header with the client port, but I am not getting any.

Headers I am seeing:

Might be an issue on my end, I can see the port on https://debug.fly.dev, but I wonder why, it is just a simple node app. Can’t find anything that would remove the header before I can log it, and I am already logging it at the pretty much earliest stage.

Hmm. There is an X-Forwarded-Port … is that different? Could you use that instead?

Yeah, I am using that as a fallback right now. Was just wondering why it doesn’t exist when the documentation mentions it

1 Like