发布端口

来源:互联网 发布:visio2016 数据库建模 编辑:程序博客网 时间:2024/06/04 23:22

Forwarding Ports


You can use the forward command to set up arbitrary port forwarding — forwarding of requests on a specific host port to a different port on an emulator/device instance. Here's how you would set up forwarding of host port 6100 to emulator/device port 7100:

adb forward tcp:6100 tcp:7100

You can also use adb to set up forwarding to named abstract UNIX domain sockets, as illustrated here:

adb forward tcp:6100 local:logd 
0 0
原创粉丝点击