DEV Community 👩‍💻👨‍💻


Posted on

Running ASP.NET on local ip, not localhost

Hi !
On a ASP .NET project, as I needed to see my local work on my phones, I wanted to switch from "localhost" to local ip.

I changed applicationhost.config :

after the existing localhost nodes, adding :

But nothing works, when building and running the project applicationhost.config is overwritten, those two lines disappear and back to initial state, indeed runs localhost:44314

I use JetBrain IDE

If you have any clue, merci !!!

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.