How to bind to LAN ip without admin privilage?

asked 2021-04-22T15:54:23.543+00:00
esam 6 Reputation points

i am working in asp.net core web application ( .net 5 ) and during development i want visual studio to bind to LAN ip address ( 192.168.8.2 in my case) so i figured out that in order to bind to LAN IP i need to manually modefy the file ".vs\WebApplication3\config\applicationhost.config" and add :

<binding protocol="https" bindingInformation="*:443:192.168.8.2" />

in the binding section , then restart visual studio with admin rights.

the question is : how to bind to LAN without firing up VS as admin

i don't want to run VS as admin because:
1- i remember that i read somewhere that vs in admin can make some trouble down the road ( i don't remember what is the trouble).
2- security.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
694 questions
No comments
1 vote