ServeIt icon indicating copy to clipboard operation
ServeIt copied to clipboard

Phone as the hotspot and the server

Open sls1005 opened this issue 7 months ago • 0 comments

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

  1. Use the phone as the Wifi hotspot.
  2. 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)

sls1005 avatar Jun 30 '24 03:06 sls1005