In Visual Studio 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.
1개의 웹사이트에 대해서, 여러 IP에 셋팅도 가능합니다.
<bindings>
<binding protocol="http" bindingInformation="*:8080:localhost" />
<binding protocol="http" bindingInformation="*:8080:192.168.1.2" />
<binding protocol="http" bindingInformation="*:8080:192.168.3.4" />
<binding protocol="https" bindingInformation="*:443:localhost" />
</bindings>
참조 : https://stackoverflow.com/questions/35247847/bad-request-invalid-hostname-asp-net-visual-studio-2015
Bad Request - Invalid Hostname ASP.net Visual Studio 2015
After debugging my website in Visual Studio 2015, I can visit it via localhost:50544. I would like to visit my website on a different computer from which it is being served upon that is also on the...
stackoverflow.com
댓글 영역