Problem 1
I have my laptop and phone both connected to the School WIFI.
The ifconfig
result of my laptop is:
wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.40.101.86 netmask 255.255.192.0 broadcast 10.40.127.255
inet6 fe80::ec2d:5373:9f47:cc02 prefixlen 64 scopeid 0xfd<compat,link,site,host>
The ifconfig
result of my phone is:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.40.95.189 netmask 255.255.192.0 broadcast 10.40.127.255
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 3000 (UNSPEC)
So the laptop have the address 10.40.101.86
and the phone have the address 10.40.95.189
when both connected to this same WIFI in my School Library. In this circumstance, the local discovery seems don’t work. The two devices can’t find each other.
It’s until I manually assigned the tcp://10.40.95.189:22000
then they connected. But the IPs are dynamic, I can’t do this manual work every time I reconnect my WIFI.
Due to the National Firewall, both my devices can’t connect to global discovery server, so the local discovery is the last stable reliance. So I wish this problem could be resolved.