質問

I am working on an ASP.NET application and I'd like the ability to test the application on my (Android) phone and iPad by connecting directly to my local IIS Express development server. I followed the instructions here on setting up IIS Express to allow remote connections. I am now able to view the application from another Windows machine on my local network by visiting http://my-computer-name:my-port-number/ in the browser. However, I am unable to view the application from any other platform (Android, iOS, and OS X - tested in both Chrome and Firefox); the browser silently churns away for a minute or so before giving me a generic "could not connect to my-computer-name:my-port-number" page.

What is the difference between the platforms that is disallowing me from viewing my ASP.NET application on non-Windows machines?

役に立ちましたか?

解決

If your devices are on the same network, from the command prompt try ipconfig get the IP Address from your wireless and from your device try http://[IP Address]:[Port].

Like in this example:

enter image description here

http://192.168.2.122:5252

I am not an expert on Mac but if I recall correctly your issue may be associated with this:

http://www.wikihow.com/Add-a-Mac-to-a-Homegroup

他のヒント

What is the difference between the platforms that is disallowing me from viewing my ASP.NET application on non-Windows machines?

The network to which they are connected. You seem to have mentioned that your Windows machine is connected to the same local network as the computer hosting the web application. But the other devices probably aren't. So make sure that those devices are connected to the same network.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top