Laravel Serve Command for Viewing Site in Same Network


November 12, 2018 2 minutes laravel , artisan command

to find ip address // inet will be host

ifconfig | grep 192.168

to serve

sudo php artisan serve --host=192.168.31.254 --port=80

See Also