开发者

How to forward a TCP port in an Android program

开发者 https://www.devze.com 2023-04-05 10:49 出处:网络
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

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

精彩评论

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

关注公众号