ServeIt
ServeIt copied to clipboard
Phone as the hotspot and the server
Description
When the phone is used as the hotspot and the server at the same time, the app will fail to infer the private network address (192.168.*.*
) and will instead use the loopback address (127.0.0.1
), which will provably make it inaccessible from the local network. Even if the hotspot does have a 192.168.*.*
address, it is not used.
Steps to reproduce
- Use the phone as the Wifi hotspot.
- Start the server.
Possible solution
I understand that there might be technical limits. If so, please allow manually setting the IP address, because the user knows the address. I also understand there might be security concerns. You still can check for 192.168.0.0/16
or 127.0.0.1/24
if it's considered inappropriate to use something else.
Version
- ServeIt 2.0.0
- Android 14 (Samsung SM-M336B)