How can I connect directly to a mobile device over 3G?

末鹿安然 提交于 2019-12-07 12:55:00

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/3069577/how-can-i-connect-directly-to-a-mobile-device-over-3g

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