How do I change the debug port in Visual Studio 2017?
Go into the .sln file and edit the port there.
For example, if it's currently on port: 50722
Then just do a replace: 50722
replace with: 50723
and it should build just fine. There should be about 5 spots it'll replace.
For me, I was able to find it with the following steps in Visual Studio 2017:
- Right click on the web project, then click Properties.
- Click on the Debug tab.
- Under the Profile IIS Express, you will find the port at the App URL box.