通过wifi在Android设备访问本地主机的网站 [英] Access local host website in android device through wifi

查看:222
本文介绍了通过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)

    这篇关于通过wifi在Android设备访问本地主机的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆