You successfully created your laravel project and wish to test it from your another computer through ip address but you don't know how to share it? Then this tutorial is for you!
It easy to allow user from other computer to access your laravel app. All you have to do is follow the tutorial below.
Syntax :
Eg.
php artisan serve --host 192.168.1.197 --port 80
You also be able to run the command more than once.
Eg.
php artisan serve --host 192.168.1.197 --port 80
php artisan serve --host 192.168.1.198 --port 80
By doing this, you should be able to access the laravel project from the above ip address from the browser.
Try type :192.168.1.197 in browser and you should be able to access the laravel project.
If you are facing any problem on this, don't hesitate to message at Obstrum facebook page.
Hope this tutorial will help those in need.
If you want to get in touch with more tutorial, add me on google+ or like and follow our facebook page for more! Obstrum Facebook Page
EmoticonEmoticon