I developed a Web API service, and now I'm trying to test it (inside IIS Express in Visual Studio 2013). It works good, but I can use only the address:
http://localhost:62576
Instead of localhost I want use my private IP address (192.168.1.2)
Searching others stackoverflow questions I found this . So I have modified the config file, the line:
<binding protocol="http" bindingInformation="*:62576:localhost" />
into
<binding protocol="http" bindingInformation="*:62576:*" />
But I have always the same error, when I try to call the service using my private IP address:
HTTP Error 400. The request hostname is invalid.