Artisan Error: Failed to listen on localhost:8000
byI was creating an admin dashboard based on Laravel. UI components were reactive and build upon the vuejs framework. I will have a post on my experience with the vuejs framework someday.
I was switching between a compilation of Vue component changes and running the laravel localhost server. A regular serve command to start localhost:
php artisan serve —host 192.168.10.203 —port 8000
I was serving at the IP address of the machine so I could test conveniently from other machines and devices connected to LAN.
Between development precess somehow the laravel artisan process mustn’t have closed properly. When I attempted to serve localhost I received this error:
Failed to listen on localhost:8000(reason: Address already in use)