I am using create-react-app and hosting in its default port localhost:3000 and want to access this from another device on the same net
In my case, npm run start used my Ethernet adapter's IP e.g. http://192.168.167.113:3000 but as I was accessing the site using WLAN, I needed to use WLAN IP which was 192.168.0.227.
npm run start
http://192.168.167.113:3000
192.168.0.227
Make sure to use WLAN IP with the same port to make it work.