I want to make LAN server with artisan server. How can I run command like this
php artisan serve –-host=192.168.2.20 --port=8000
I tried but I am getting 'Too many arguments.' error
I know I can do this by virtual host. Just wanted to know how to do with artisan server.
Try copying this:
php artisan serve --host=192.168.1.1 --port=8000