While developing and testing i start my local development server like this
php artisan serve --host=0.0.0.0 --port=8080
which results in
Laravel development server started on http://0.0.0.0:8080
I am able to access the server from all desktop computers in my home network but not from my mobile phone. Why is that?
I have opened port 8080 in the WAN settings on my routes and it works fine with desktop computers, but not with mobile phones.
Is your mobile connected to wifi on the same network as the desktop computers? If not you will also need to set up port forwarding on your router to the computer that is running the server instance.
Another way is use chrome dev tools. You can click the little mobile phone icon on the top left. You can then choose between hundreds of devices including phones, tablets etc or set the display settings. Bam test the site out with in a few clicks.
@Prit_Patel Please dont revive a 7 year (or 1 if you go by last reply) thread. Instead if you want us to help, you should create a new thread and describe your exact issue. A lot has happened in 7 years