Artisan error: Could not listen to localhost: 8000 (reason: attempt to gain access to the socket is denied by access rights).

I have a problem installing laravel. Whenever I dial a terminal php artisan serve, it gives me an error, as shown below:

c: \ wamp \ www \ blog> php artisan starts the Laravel development server at http: // localhost: 8000 /

[Sat Nov 05 21:18:39 2016] Failed to listen on localhost: 8000 (reason: attempt to access the socket in a path forbidden by its access permissions.)

+4
source share
4 answers

1) The first restoration of the default firewall

2) change the service port with this command php artisan serve --port=3232

Trust me your work :)

+6

, Laravel .
php artisan serve, .
linux sudo php artisan localhost:8888 -t public


, , php version, .

PHP >= 5.5.9
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension

. .

0

artisan

php artisan serve --port=#### 

#### .

.!

0

, .

0

Source: https://habr.com/ru/post/1659960/


All Articles