title: Bad Request- Invalid Hostname while connect to localhost via wifi from mobile phone
body: <p>I get the <strong>Bad Request- Invalid Hostname [HTTP ERROR 400]</strong> while trying connect my laptop's localhost.
  Actually, I am learning to develop mobile web using jQuery Mobile.
  I want to see the layout of the web whether fit my phone size.</p>
  
  <p>i have added the port number which given by the Visual Studio with this way:<br>
  <strong>Control Panel> Firewall> Advanced Settings> Inbounce Rules> New Rule.</strong> <br>
  Then, i get my IP address by typing "<strong>ipconfig</strong>" at Command Prompt. <br>
  After that, I use my Android phone browser (Mozilla 5.0) and enter the link 192.XXX.XXX.XXX:57976.</p>
  
  <p>I have read similar questions but I can't get the solution.
  Some people think this error is related to the IIS settings.
  But I can't get the solution of the IIS settings.
  Hope you guys can help me solve this problem.</p>