我如何能够通过Android手机访问我的本地主机? [英] How can I access my localhost through Android phone?

查看:129
本文介绍了我如何能够通过Android手机访问我的本地主机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的Andr​​oid手机连接到PC到手机的浏览器上运行我的应用程序的XAMPP服务器(应用程序工作正常与PC机的浏览器)。

I want to connect my Android phone to XAMPP server of my pc to run my app on phone's browser (app is working fine with pc's browser).

我使用宽带连接。我已经到了迄今唯一的解决办法就是通过使用WiFi连接。

I am using broadband connection. The only solution which I've got until date is through using wifi connection.

不过,我仅限于使用LAN连接。我怎么能没有它使用路由器连接?

But, I am restricted to use LAN connection. How can I connect it without using a router?

推荐答案

它很简单,
- GOTO命令行(窗口+ R [键入cmd])
- 键入 IPCONFIG 后,会显示您PC的当前IP地址
- 在你的Andr​​oid手机与浏览器写入taht IP地址:例如80( HTTP://192.168.x.x:80

its very simple , - GOTO command line (Window + R [type cmd]) - type ipconfig , that will show the current IP address of your PC - write taht IP address on your Android Phone's browser with :80 e.g (http://192.168.x.x:80)

完成

本地主机将出现在您电话

localhost will appear on your Phone

这篇关于我如何能够通过Android手机访问我的本地主机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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