I am currently working on a Laravel project and have encountered a perplexing issue when trying to run it on my local system. I’m receiving the error message, “This site can’t be reached,” with the additional note that “localhost refused to connect.” This issue is preventing me from accessing my Laravel project through my web browser.
I configured the .env file and database connection.
I tried maximum solution but can’t get the solution
My .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
Kindly help me out with this problem