Bad Request - Invalid Hostname IIS7

后端 未结 15 2222
一个人的身影
一个人的身影 2020-12-05 03:53

When I try to hit my web app on port 8080 I get the following error

Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is inval

15条回答
  •  佛祖请我去吃肉
    2020-12-05 04:25

    I saw the same error after using msdeploy to copy the application to a new server. It turned out that the bindings were still using the IP address from the previous server. So, double check IP address in the IIS bindings. (Seems obvious after the fact, but did not immediately occur to me to check it).

提交回复
热议问题