I am using Laravel. In XAMPP's htdocs folder my laravel root folder name is sh. I ran the following code
php artisan serve
and found that
Laravel development server started: <http://127.0.0.1:8000>
In Browser Address Bar I wrote
localhost:8000
now
waiting for localhost...
never ends.
I ran this code
C:\>netstat -a
in a long list I found that
TCP 127.0.0.1:8000 ommited-PC:0 LISTENING
TCP 127.0.0.1:8000 ommited-PC:49674 ESTABLISHED
In Browser's address bar I wrote
http://localhost/sh/public/
the site opens correctly.
This is my observation. I don't know why localhost waits for ever and what should I do.