After I type php artisan serve in my terminal, laravel development server start : http://127.0.0.1:8000
But when I do reload in my browser, it keeps loading and doesn’t show any error
And again this happens to all my project I have.
I don’t know what’s going on
9
Answers
Try http://localhost:8000
You are missing a 0 in the port number.
If that doesn’t work, try running ‘ping localhost:8000’ and post back the results.
you can change laravel port:
php artisan serve –port=8080
I have the same Problime and i solved its write: php -S 0.0.0.0:8000 and will show firewall click on allow and will work note example #6
I had the same problem and I solved it with
php artisan config:cache
and then restart your server withphp artisan serve
I solved this by running this command instead of php artisan serve.
Then try to run again in your browser localhost:8000
Hope it helps, happy coding 🙂
maybe your problem some file that crash on your project for that run this commend
or may port 8000 reserved by other program for that use this commend to change port
I’ve had the same issue, and later only I figured out my virus guard is the reason, to figure out I’ve spend almost a day. if non of the above solution worked for you please check by disabling your virus guard
Inspect the element and see if there’s any error in console
I had this same problem. I spent hours trying to solve it. Finally, I installed a new Laravel project (versions 8 & 9) and could not pull it up.
Clear your browser cache. Try another browser and see if it pulls up.