Describe the bug
The server behaves inconsistently depending on the network source.
If I connect my phone to an external WiFi network (router or another phone’s hotspot), the server starts normally.
However, when I enable hotspot on my own phone and connect another phone to it, the server does not start.
Interestingly, if I first connect to external WiFi and start the server successfully, and then enable hotspot while WiFi is still connected, the server continues to work and becomes accessible via hotspot as well.
This suggests a possible network interface binding or initialization issue.
To Reproduce
Scenario 1 – Server fails (Hotspot only)
-
Make sure WiFi is turned OFF.
-
Enable mobile hotspot on the device.
-
Connect another phone/device to this hotspot.
-
Open the app and try to start the server.
-
Observe that the server does not start.
Scenario 2 – Server works (External WiFi)
-
Connect the device to an external WiFi network (router or another phone’s hotspot).
-
Open the app and start the server.
-
Observe that the server starts successfully.
Scenario 3 – Works after WiFi initialization
-
Connect to external WiFi.
-
Start the server successfully.
-
While keeping WiFi ON, enable mobile hotspot.
-
Connect another device via hotspot.
-
Observe that the server remains running and works via hotspot.
Expected behavior
The server should start successfully regardless of the active network type.
It should work properly when:
The device is connected to an external WiFi network
The device is connected to another phone’s hotspot
The device is hosting its own mobile hotspot
Only hotspot is enabled (without WiFi)
The server should correctly detect and bind to the available network interface and remain accessible to connected devices.
Device
Iqoo 15
Android version
Android 16
App Version
0.6.1
Additional context
No response
Describe the bug
The server behaves inconsistently depending on the network source.
If I connect my phone to an external WiFi network (router or another phone’s hotspot), the server starts normally.
However, when I enable hotspot on my own phone and connect another phone to it, the server does not start.
Interestingly, if I first connect to external WiFi and start the server successfully, and then enable hotspot while WiFi is still connected, the server continues to work and becomes accessible via hotspot as well.
This suggests a possible network interface binding or initialization issue.
To Reproduce
Scenario 1 – Server fails (Hotspot only)
Make sure WiFi is turned OFF.
Enable mobile hotspot on the device.
Connect another phone/device to this hotspot.
Open the app and try to start the server.
Observe that the server does not start.
Scenario 2 – Server works (External WiFi)
Connect the device to an external WiFi network (router or another phone’s hotspot).
Open the app and start the server.
Observe that the server starts successfully.
Scenario 3 – Works after WiFi initialization
Connect to external WiFi.
Start the server successfully.
While keeping WiFi ON, enable mobile hotspot.
Connect another device via hotspot.
Observe that the server remains running and works via hotspot.
Expected behavior
The server should start successfully regardless of the active network type.
It should work properly when:
The device is connected to an external WiFi network
The device is connected to another phone’s hotspot
The device is hosting its own mobile hotspot
Only hotspot is enabled (without WiFi)
The server should correctly detect and bind to the available network interface and remain accessible to connected devices.
Device
Iqoo 15
Android version
Android 16
App Version
0.6.1
Additional context
No response