Closed aDisplayName closed 2 days ago
Hello, thanks for the submission @aDisplayName . We don't yet support Rancher, but we are tracking adding support in #6002. I'm closing this as a dupe for now to track adding support there, but feel free to reopen if you have any follow up questions.
Is there an existing issue for this?
Describe the bug
With the exact the same AppHost code, the connection to container cannot be made in .NET 9, but runs normal in .NET 8.
main code:
Expected Behavior
Container resource running under Rancher Desktop can be reached from the host.
Steps To Reproduce
Result from .NET 8 version
Code example: https://github.com/aDisplayName/bugsamplecode/tree/main/20241119/net8
When running the .net 8 version, this is what shown in Rancher Desktop UI
There are two endpoints listed under the details panel
The curl to
http://127.0.0.1:32773
andhttp://localhost:64544
returns the nginx welcome page correctly on Windows Terminal and Webbrowser running in Windows.The curl to
http://localhost:32773
from wsl Terminal returns the nginx welcome page correctly.The curl to
http://localhost:64544
from wsl Terminal:Result from .NET 9 version
Code Example: https://github.com/aDisplayName/bugsamplecode/tree/main/20241119/net9
When running the .net 9 version, This is what shown in Rancher Desktop UI
there are two endpoints listed under the details panel
The curl to
http://localhost:63440
from Windows Terminal:The curl to
http://localhost:63440
from wsl terminal:The curl to
http://127.0.0.1/32772
from Windows Terminal:The curl to
http://127.0.0.1/32772
from wsl terminal:Exceptions (if any)
No response
.NET Version info
Aspnet core: 9.0 / 8.0 Aspire.Hosting.AppHost: 9.0 / 8.2.2
Anything else?
Rancher Desktop 1.16.0 Windows 11 Enterprise 23H2, Windows Feature Experience Pack 1000.22700.1041.0 WSL Ubuntu 24.04.1 LTS