DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

tapioca-design
tapioca-design

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)

🌚 Life is too short to browse without dark mode