I've been searching for a while, but I can't seem to figure out how to change my website url in visual studio 2015. Right now it's going off of localhost:9045
, but I need to change it to a different port number and a path, localhost:54865/central
.
Changing the port number is simple enough, as that's just a setting in the Debug tab in the web site project file. But can't seem to find a way to add the extra path at the end...
You'll need to open the .vs/config/applicationhost.config
, which is in the same folder as your solution file.
Locate your website in configuration/configSections/sites
and overwrite the auto-assigned port under site/bindings/binding/bindingInformation
.
Be sure to save the solution & restart your development server, and you should be good to go on your chosen port.