Bad Request – Invalid Hostname ASP.net Visual Studio 2015

You have to run Visual Studio as Administrator

In Visual Studio 2015 the applicationhost.config is located it the folder in the project itself. Esc MyProjectName\.vs\config, note that the .vs folder may be hidden. Change the Ip from there, not IISExpress folder.

Your <binding protocol="http" bindingInformation="*:50544:192.168.1.13" /> is correct.

Leave a Comment