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.
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 a192.168.*.*
address, it is not used.Steps to reproduce
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
or127.0.0.1/24
if it's considered inappropriate to use something else.Version