I'm having trouble viewing my in-development websites on some remote devices like iPad, Nexus phone, etc. I'm using IIS Express. I've set up the bindings this way:
<site name="WebApplication1" id="7"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="d:\Programming\WebDotNet\WebApplication1\WebApplication1" /> </application> <bindings> <binding protocol="http" bindingInformation="*:64203:localhost" /> <binding protocol="http" bindingInformation="*:64203:aurora" /> <binding protocol="http" bindingInformation="*:64203:192.168.1.24" /> </bindings> </site>
There are a couple of troubles, though.
The first binding (
http://localhost:64203/), naturally, works only on my machine, but it works in every browser.
The second binding (
http://aurora:64203/) works partially. It works in IE, Firefox, Opera 12, Safari for Windows (5.1.7). This holds true for my machine and another Windows machine. The URL, however, doesn't work in Chrome, Opera (27), or on any of my mobile devices. On Nexus 5 I've tried both Chrome and Firefox.
The third binding (
http://192.168.1.24:64203/) fails to register:
C:\Program Files\IIS Express>iisexpress.exe /site:WebApplication1 Successfully registered URL "http://localhost:64203/" for site "WebApplication1" application "/" Successfully registered URL "http://aurora:64203/" for site "WebApplication1" application "/" Failed to register URL "http://192.168.1.24:64203/" for site "WebApplication1" application "/". Error description: The network location cannot be reached. For information about network troubleshooting, see Windows Help. (0x800704d0)
Please help me resolve this issues, as I really need to test my websites on mobile devices.
P.S.: If this might be relevant, my router is Cisco EPC3925 EuroDocsis 3.0 2-PORT Voice Gateway and I've set static IPs internally for most of my machines.
As far as the
*:64203:aurora binding is concerned, your mobile devices need DNS entries mapping
aurora to your IP address (I'm assuming
*:64203:192.168.1.24 binding, I wasn't able to reproduce the error exactly. I would make sure you are running the command from and elevated (Administrator) command prompt. Also, the error description leads towards a network related error, so make sure that your IP configuration is correct.
User contributions licensed under CC BY-SA 3.0