如何通过 3G 直接连接到移动设备? [英] How can I connect directly to a mobile device over 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?
推荐答案
诺基亚研究团队做了类似的事情,并使用了一个网关,该网关通过 DNS 映射到公共 URL,以提供一种始终访问手机的方法(它有一个应用程序可以将 HTTP 消息发送到移动网络服务器).
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.
详情见:http://wiki.opensource.nokia.com/projects/MWS:FAQ#So_how_does_my_phone_get_a_URL.3F
这篇关于如何通过 3G 直接连接到移动设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!