Open Immortalin opened 2 years ago
The app runs the FTP server on 0.0.0.0 and it's much harder to limit that to one nic.
Maybe I can prefer showing the IP in a hotspot network though, but I'm not sure how to detect it on Android.
I believe your IP in a hotspot network is the same as router address(路由器地址/闸道地址). Which usually ends with .1
Many public WiFi networks block P2P filesharing, FTP is still possible using the phone's hotspot feature. However this is not very accessible to casual users as the app defaults to displaying the wlan0 IP address which is often the public network.
Proposal: give users an option to limit sharing only to certain networks and display the IP addresses of both public and hotspot networks.