Why command "php artisan serve" not working Why command "php artisan serve" not working laravel laravel

Why command "php artisan serve" not working


Just wanted to add to Jayhuan's answer above:

Laravel does the same thing behind the scenes, you can see the code here (look in serverCommand).

So to serve locally you would do:php artisan serve --host mysite.com --port 8000