Eu criei uma rede de tethering de Wi-Fi pelo Android e conectei-a ao Arch Linux. No Ubuntu, eu usei ifconfig
para descobrir o endereço IP local por rede wifi. Eu corro servidor do nó na porta 4200.
Quando executo hostname --ip-address
no Arch Linux. Eu recebo 192.168.43.213
. Mas 192.168.43.213:4200
está inacessível. Aqui está a saída de ip addr
.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 4c:cc:6a:09:12:b9 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f0u9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 18:d6:c7:13:c1:f3 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.213/24 brd 192.168.43.255 scope global wlp0s20f0u9
valid_lft forever preferred_lft forever
inet6 fe80::cb:fcd1:c31d:ddef/64 scope link
valid_lft forever preferred_lft forever