从移动设备查看本地主机的网站
我主持我的 Win8中的本地主机
,该网站似乎是一个 ASP.Net
网站运行在桌面上符合市场预期,但现在我也想测试移动设备的网站网站,查看它如何呈现
有反正我可以从我的移动设备访问网站
我的移动设备和桌面计算机连接到路由器通过同一个网络。
下面是我的机器和路由器的详细信息。
I have an ASP.Net
website hosted on my Win8's localhost
, the site seems to be running as expected on the desktop, but now i also want to test the site website on mobile device to check how it renders
Is there anyway i can access the website from my mobile device
My Mobile Device and Desktop Machine are connected to the same Network via Router.
Here are the details of my machine and router.
- 机器有Win8的安装临运行IIS 8.0.9200.16384
- 路由器是TP-Link的基本150Mbps的。
- 设备是Karbonn A15,机器人 - 4.0.4(ICS)
- Machine has Win8 Pro Installed running IIS 8.0.9200.16384
- Router is TP-Link Basic 150Mbps.
- Device is Karbonn A15, Android - 4.0.4 (ICS)
谁能告诉我如何将我的移动设备连接到本地主机的网站。
Can anyone tell me how can i connect my mobile device to localhost website.
要查看您所必须遵循的步骤放入系统的移动设备本地主机的网站:
To view localhost website from mobile device you have to follow thoses steps :
- 在你的电脑,你必须找回你的IP地址(运行> CMD> IPCONFIG)
- 如果您的本地主机使用特定端口(如本地主机:12345),你必须打开你的计算机上的端口(控制面板>系统和安全>防火墙>高级设置并添加入站规则)
- 最后,您可以通过导航到移动设备访问到您的网站: HTTP://192.168.XX:12345 /
- In your computer, you have to retrieve your IP address (Run > cmd > ipconfig)
- If your localhost use a specific port (like localhost:12345 ), you have to open the port on your computer (Control Panel > System and Security > Firewall > Advanced settings and add Inbound rule)
- Finally, you can access to your website from mobile device by navigate to : http://192.168.X.X:12345/
希望它能帮助