1The full command works like this:
2
3php artisan serve --host=<host IP address> --port=<port to use>
4
5php artisan serve --host=127.0.0.1 --port=8080
1php artisan serve
2 // The original answer is:
3 /*
4 The full command works like this:
5
6php artisan serve --host=<host IP address> --port=<port to use>
7
8php artisan serve --host=127.0.0.1 --port=8080
9 */
1if your laravel application running in server/hosting,
2just change DocumentRoot pointing to /path/to/your-laravel-app/public