-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Description
执行adb连接的时候一直连接不上,信息如下:
~$ ifconfig
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:7dff:fe45:d34b prefixlen 64 scopeid 0x20<link>
ether 02:42:7d:45:d3:4b txqueuelen 0 (Ethernet)
RX packets 359 bytes 23266 (23.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 421 bytes 25670 (25.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.10.20.139 netmask 255.255.255.0 broadcast 172.10.20.255
inet6 fe80::54b9:eec1:3a9f:7576 prefixlen 64 scopeid 0x20<link>
ether f0:79:59:5f:70:11 txqueuelen 1000 (Ethernet)
RX packets 513660 bytes 765389096 (765.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 112938 bytes 10082968 (10.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2225 bytes 146292 (146.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2225 bytes 146292 (146.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth2a6d358: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::bcef:92ff:fe6c:77ee prefixlen 64 scopeid 0x20<link>
ether be:ef:92:6c:77:ee txqueuelen 0 (Ethernet)
RX packets 359 bytes 28292 (28.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 456 bytes 29581 (29.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
~$ adb connect 172.10.20.139:5555
connected to 172.10.20.139:5555
~$ adb devices
List of devices attached
emulator-5554 offline
~$ firewall-cmd --state
not running
Metadata
Metadata
Assignees
Labels
No labels