简体   繁体   English

将Android手机连接到没有第三方设备的本地服务器

[英]Connecting an Android phone to a local server w/o a third device

I know the question line is a bit ambiguous, but I could not think of a better one. 我知道问题专线有点含糊,但我想不到更好的问题。

My question is: 我的问题是:
I have an Android app that makes an HTTP request, the server is currently running on local. 我有一个发出HTTP请求的Android应用,服务器当前在本地运行。 So, when I am in my office I connect both my laptop (on which the server is) and my phone on a same LAN network. 因此,当我在办公室时,我将笔记本电脑(服务器所在的服务器)和手机都连接在同一局域网中。 And make that HTTP request using the hitting on the IP of the laptop. 并使用笔记本电脑的IP命中该HTTP请求。

This is all fine, I wanna know is when I reach home I don't have a WiFi running, neither do I have a third device (so that, I may use it as a WiFi Hotspot). 一切都很好,我想知道当我到家时没有运行WiFi,也没有第三台设备(因此,我可以将其用作WiFi热点)。 So, is there any tool by which I can achieve this. 那么,有没有什么工具可以实现这一目标。 Both the Laptop and the phone has WiFi. 笔记本电脑和手机均具有WiFi。

You should try Connectify Me ...install it in you laptop, and it will make its wifi receiver to work as wifi broadcaster...than you can connect your android deivce to this broadcasted network just as you normally do with other wifi networks. 您应该尝试Connectify Me ...将其安装在笔记本电脑中,它将使其wifi接收器充当wifi广播器...比起您可以像通常使用其他wifi网络一样,将android设备连接到此广播网络。

And then hopefully you will be able to access you server hosted on laptop from you android device... 然后希望您能够从Android设备访问笔记本电脑上托管的服务器...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM