C:\******\*****\*******\Laravel\backend> php artisan serve
Failed to listen on 127.0.0.1:8000 (reason: ?)
Failed to listen on 127.0.0.1:8001 (reason: ?)
Failed to listen on 127.0.0.1:8002 (reason: ?)
Failed to listen on 127.0.0.1:8003 (reason: ?)
Failed to listen on 127.0.0.1:8004 (reason: ?)
Failed to listen on 127.0.0.1:8005 (reason: ?)
Failed to listen on 127.0.0.1:8006 (reason: ?)
Failed to listen on 127.0.0.1:8007 (reason: ?)
Failed to listen on 127.0.0.1:8008 (reason: ?)
Failed to listen on 127.0.0.1:8009 (reason: ?)
Failed to listen on 127.0.0.1:8010 (reason: ?)
To fix this issue go to the local disk C: and go to the user select the administrator or your using account and then go to the .config folder in there you can see the herd folder go in and go like this
bin -> php84 -> in there find the php.ini file in that file inside search for the variables_order = "EGPCS"
change that "EGPCS" to "GPCS" variables_order = "GPCS
Now run the php artisan serve Now it will works. if you get confused watch this yt video https://www.youtube.com/watch?v=bNSo7tkoSyc