Document dynamic port binding limitations (#26611)
Co-authored-by: Stephen Halter <halter73@gmail.com>pull/26618/head
parent
ac1b868558
commit
c735b07259
|
@ -419,6 +419,11 @@ When the port number `0` is specified, Kestrel dynamically binds to an available
|
|||
|
||||
:::code language="csharp" source="samples/6.x/KestrelSample/Snippets/Program.cs" id="snippet_IServerAddressesFeature":::
|
||||
|
||||
Dynamically binding a port isn't available in some situations:
|
||||
|
||||
* `ListenLocalhost`
|
||||
* Binding TCP-based HTTP/1.1 or HTTP/2, and QUIC-based HTTP/3 together.
|
||||
|
||||
## Limitations
|
||||
|
||||
Configure endpoints with the following approaches:
|
||||
|
|
Loading…
Reference in New Issue