Bug
Program.cs always calls options.ListenAnyIP(8080), which overrides ASPNETCORE_URLS.
Container Apps / Docker already set ASPNETCORE_URLS=http://+:8080, but that value is ignored. Local orchestrators (e.g. spawning multiple Toolkit instances behind Bastion SOCKS) cannot bind http://127.0.0.1:<port> without changing code.
Expected
- When
ASPNETCORE_URLS is unset: keep default 0.0.0.0:8080 (Container Apps parity).
- When
ASPNETCORE_URLS is set: honor it (including loopback + custom port).
Related
Bug
Program.csalways callsoptions.ListenAnyIP(8080), which overridesASPNETCORE_URLS.Container Apps / Docker already set
ASPNETCORE_URLS=http://+:8080, but that value is ignored. Local orchestrators (e.g. spawning multiple Toolkit instances behind Bastion SOCKS) cannot bindhttp://127.0.0.1:<port>without changing code.Expected
ASPNETCORE_URLSis unset: keep default0.0.0.0:8080(Container Apps parity).ASPNETCORE_URLSis set: honor it (including loopback + custom port).Related