I am not sure this helps you or not but in my case, this helps me so you can also try this:
1: First of all you have to increase the WiFi Adapter priority( Interface Metric)
Goto Control Panel > Network and Internet > Network Connections
step 1) Right-click on the wi-fi as shown in the above image and right-click > Click Properties
step 2) select Internet Protocol Version 4 and > Click Properties
step 3) click on > Advanced
step 4)
- Uncheck 'Automatic Metric'
- Enter 5 in 'Interface Metric'
- click ok
2: You have to change your wifi network profile from Public to private
step 1) selecting your network from available WiFi network and click Properties
step 2) change your network profile from Public to Private
That's it now run your expo project on LAN it will work 100%
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…