Dynamically uses a port

Currently the public-accessible port are must defined on fly config:

  [[services.ports]]
    handlers = ["tls"]
    port = 4323

Is it possible to allow all (*) port and let the application dynamically listen on (any) selected port?

thankyou

Just in case anyone didn’t know this, you can define multiple ports in the same file, as per How to use Multiple Ports? - #4 by charsleysa

But I don’t know about wildcarding it. Maybe someone else can provide guidance on that. I can’t think of a good use case, but I’m sure it exists.

1 Like

Oh, this post might clear things up a little:

Namely:

We don’t yet support port ranges or a list of ports for the same [[services.port]] entry, but we’re working on it.

1 Like