how to change iis express port in visual code code example
Example: Run project in visual studio with iis express
In the solution folder view:
- Right click on your website/ web app
- Click on "Set as Startup Project"
- Configure as needed (IIS Local as default)