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

走远了吗. 提交于 2020-01-15 23:02:12

问题


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. 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.

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). So, is there any tool by which I can achieve this. Both the Laptop and the phone has WiFi.


回答1:


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.

And then hopefully you will be able to access you server hosted on laptop from you android device...



来源:https://stackoverflow.com/questions/19674407/connecting-an-android-phone-to-a-local-server-w-o-a-third-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!