Php artisan serve command

66 Views Asked by At

i run command php artisan serve but that was the results: php artisan serve

INFO Server running on [http://127.0.0.1:8000].

Press Ctrl+C to stop the server

This continued for a few seconds and then stopped automatically. What is wrong here?

I hope to get an answer to that

1

There are 1 best solutions below

2
N. R. Ashwin On

We are not sure what really, problem going on. If your other artisan command run successfully, then it sure that laravel project setup successfully.

Try to run the laravel project on the different port, may be default port is busy.

php artisan serve --port 2000

Also try other port like 1000,3000,8080 etc. If you get any error message tell us, so that we can help you.