Alternitivley you could use https://laragon.org/ as your local server and it will automatically setup domains like yourapp.oo in both the HOSTS and httpd.conf file whenever you create a new laravel app.
i am using mac and xampp i have same issue its taking long loading time and not open i have tried used php artisan serve , php artisan serve --port=8585 also php -S localhost:8000 please help me....
i have problem in php artisan serve its run but if i like localhost/project_name than show me
This site can’t be reached
The connection was reset.
and in command the css didnot load i was used npm install and npm run dev