Skip to content
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

#dotnet Aspire with IP from local network #5792

Open
1 task done
Mafyou opened this issue Sep 19, 2024 · 0 comments
Open
1 task done

#dotnet Aspire with IP from local network #5792

Mafyou opened this issue Sep 19, 2024 · 0 comments
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication enhancement An enhancement to an existing feature or capability.

Comments

@Mafyou
Copy link

Mafyou commented Sep 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Is it possible to change "localhost" in #Aspire?

I have an API in local IP starting by 192.168 and I would like to "map" it to Aspire to be requested from other apps in my local network.

Can someone help me ?

Regards, Mafyou.

PS : I tried put IP in the profile of launchSettings.json but it replace the IP by localhost.

Expected Behavior

Working with custom local IP to be hosting multiple app and able to see logs

Steps To Reproduce

In launchSettings.json put:
"applicationUrl": "http://192.168.1.102:6969" for example
See it, will be replaced by localhost

Exceptions (if any)

No response

.NET Version info

8.0

Anything else?

No response

@davidfowl davidfowl added area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication enhancement An enhancement to an existing feature or capability. labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication enhancement An enhancement to an existing feature or capability.
Projects
None yet
Development

No branches or pull requests

2 participants