开发者

How to forward a TCP port in an Android program

I have embedded a Jetty server in my Android app. When I use the emulator for testing it works fine because I have forwarded the specified port using adb forward tcp:1234 tcp:1234. I want to know how can I forward a port in my Android device so that I can access my serv开发者_运维知识库er from the browser like I do with the emulator without using any other application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜