通过wifi在Android设备访问本地主机的网站
我开发一家网站是需要本地系统主机和通过WiFi在所有的设备访问该网站。我的系统中,我发布的网站在IIS中的局域网连接。和WiFi也同样从路由器。
I am developing one website which is need to host in local system and access this website in all device through WiFi. My system in which i publish website in IIS is Connected in LAN. And WiFi is also from same router.
我需要在连接的WiFi所有的设备访问此网站。我怎样才能实现?如果您有任何其他的建议,这样做比超过请尽快帮助
I need to access this Website in all device which is connected in WiFi. How can i achieve? If you have any other suggestion to do this than than please Help ASAP.
先谢谢了。
您需要在防火墙添加入站规则端口80(或任何端口用于您网站上的IIS):
You need to add an inbound rule in the firewall for port 80 (or whatever port you used for your website on IIS):
- 进入控制面板,Windows防火墙
- 选择入站规则
- 添加新规则
- 选择端口作为规则类型
- 选择TCP,并把80(以及任何其他端口要打开)中的特定本地端口
- 选择允许连接
- 选择网络位置的规则应适用
- 给一个名称和一个可选的描述
之后,你应该能够使用其他设备访问您的网站在同一网络中
的http://计算机
(如HTTP:/ / myhomepc
)After that you should be able to access your site from other devices in the same network using
http://computername
(e.g.http://myhomepc
)