Getting “error: closed” twice on “adb reverse”

前端 未结 6 1097
走了就别回头了
走了就别回头了 2020-12-04 18:01

I am trying to reverse-forward port through ADB, but it just returns cryptic error of error: closed. Normal forwarding works. Session snippet:

$         


        
6条回答
  •  再見小時候
    2020-12-04 18:16

    Just use 10.0.2.2 instead of localhost/127.0.0.1 for your hostname. It will directly try to connect to the port on the host machine (same affect as reverse).

提交回复
热议问题