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.
精彩评论