I'm trying to access my Laravel project APIs on my mobile phone. Since both my machine and mobile are under the same Wi-Fi, I'm trying to run the php artisan serve
on my LAN like so.
php artisan serve --host=192.167.1.101
This runs fine and I do connect, but no API calls to the server go through. It doesn't even log a call.
This seems to work just fine when I use my mobile internet and hotspot my machine. But this is not convenient as my mobile internet is very limited.
I've boiled it down to be an issue with the LAN. But that's as far as my knowledge goes.
Is there anything I need to enable?
Thanks.