-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WithLaunchProfile and 0.0.0.0 binding #3146
Comments
You could use the DevTunnels feature in VS? |
I'm also hitting this issue. My linux box is joined to my tailscale tailnet, I want all the services to bind to 0.0.0.0 not localhost or 127.0.0.1 to permit correct routing over the talent. This works fine in a non-aspire .NET Core webapp by editing the http launch scheme replacing localhost with 0.0.0.0. In an empty aspire app with just the AppHost and ServiceDefaults projects, doing this for AppHost's launch profile:
Building... which is a showstopper for my use case. |
We are currently trying to figure out how Aspire interacts with these various tunneling and VPN services. You can see some experimentation that I've done here around DevTunnels (#4771). You could potentially take a similar approach by using the Tailscale CLI to spin up a reverse proxy to expose the .NET project to your tailnet. |
@mitchdenny dev tunnels should probably get its own ticket. In my case it was a physical device connected to my laptop that I was testing with. So the tunnel based solutions don't apply Ciaran |
There already is ;) |
@glennc fyi as we were discussing recently |
This was fixed #5588 |
I am testing a setup where I need a service to be exposed outside of localhost on other network interfaces.
launchSettings.json
AppHost/Program.cs
If I launch the app directly (without aspire) I can access it on non localhost ips but when launching with App host I can't access Project1 exception on localhost.
The text was updated successfully, but these errors were encountered: