如何通过 3G 直接连接到移动设备?
我希望能够在我的移动设备 (android) 上部署一个轻量级 Web 服务器,但移动提供商的网络显然存在 NAT 问题。无论如何,我可以让我的设备在互联网上公开可用/可寻址吗?
I'd like to be able to deploy a lightweight web server on my mobile device (android) but there are obviously NAT issues with respect to the mobile provider's network. Is there anyway I can make my device publicly available/addressable over the internet?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
诺基亚研究团队做了类似的事情,并使用网关(通过 DNS 映射到公共 URL)来提供始终访问手机的方法(手机有一个应用程序,然后将 HTTP 消息发送到移动网络服务器)。
我想这还有一个优点,即允许您从网关本身提供某种受控响应,即使电话未打开/不在覆盖范围内。
详细信息请访问:http://wiki.opensource.nokia.com/projects /MWS:FAQ#So_how_does_my_phone_get_a_URL.3F
A Nokia research team did something similar to this and used a gateway, which was mapped to the public URL with DNS, to provide a means of always accessing the phone (which had an app to then send the HTTP message to the Mobile webserver).
I would imagine this would also have the advantage of allowing you provide some sort of controlled response from the gateway itself even if the phone is not switched on/in coverage.
Details at: http://wiki.opensource.nokia.com/projects/MWS:FAQ#So_how_does_my_phone_get_a_URL.3F