I have been able to resolve it, the mistake I have been making for couple of hours has been that after running php artisan serve command, it gives me the port 127.0.0.1:8000, I used CTRL+C to copy, but instead of pressing the command once, I pressed twice which the first time copied and the second time stopped the serve. Thanks to everyone who responded to me.
I have been able to resolve it, the mistake I have been making for couple of hours has been that after running
php artisan serve
command, it gives me the port 127.0.0.1:8000, I used CTRL+C to copy, but instead of pressing the command once, I pressed twice which the first time copied and the second time stopped the serve. Thanks to everyone who responded to me.