Access web server on macOS from iOS
I have a development web server running on my macbook air (M1 2020, mac OS 14.6.1). It's LAN IP is 192.168.1.196, the server runs on port 3000.
I have an old mac mini (2012, mac OS 10.15.7). When I open "http://192.168.1.196:3000" in a browser, I access my dev server without problems.
When I try to access from iOS devices, with safari or chrome browsers, it fails (ERR_CONNECTION_FAILED). I tried with an iPad (iOS 17.6.1), and with 2 iPhones (iOS 17.7.1 and 17.6.1). It fails on all.
Of course, all the devices are on the same local network (wifi), I don't use private relay, I don't use any proxy.
Everything was working in mars (last time I developed with this macbook air).
I also try to ping the macbook air. Same scenario : it works from the mac mini, not from iOS devices (I used a ping app, I granted local network access to it).
Any idea ? This is really slowing down my development as I can't test my site on real mobile devices…
Regards.
iPhone SE, iOS 17