I have a site running under IIS Express, I added the following to my applicationHost.config
<binding protocol="http" bindingInformation="*:49223:localhost" />
<binding protocol="http" bindingInformation="*:49223:myMachineName" />
So now, from another laptop on my local wireless network I can hit http://myMachineName:49223/
and see my site without issue.
However, if I hit the same URL from an android device (tried on Galaxy S
and Galaxy S2
) on the same local wireless network I get the standard android Web page not available.
How can I hit my iis express site from my android devices? Any suggestions for debugging this issue gratefully recieved :(
What you experience stems from lack of native NetBIOS/NetBT support.
When your windows computer is trying to resolve single label names, one of the steps is to issue a broadcast request for the particular name, and see if any nodes in the local subnet answers to that name. The resolution sequence goes something like this:
In Android, name resolution goes like this:
So you would probably have to add an entry to the hosts file on your phone to make it work.
The Android hosts file is located in
/system/etc/hosts
(sym-link/etc/hosts
). AFAIK you'll need root access to edit/overwrite the hosts file