question

ekanadily avatar image
1 Vote"
ekanadily asked

How to bind to LAN ip without admin privilage?

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.


vs-debugging
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers