1

After debugging my web api in Visual Studio 2019, I can visit it via localhost:11112. I would like to visit my website on a different computer from which it is being served upon that is also on the same network. To do this I should be able to visit that computers address which is 192.168.1.129:11112.

However when visiting this address I get a 'Bad request, invalid host name' error. Even if I visit it on the same machine as the website is being served on.

1

2

I already reference this answer but it not work too

Bad Request - Invalid Hostname ASP.net Visual Studio 2015

ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97

0 Answers0