laravel 5 - Failed to listen on localhost:8000 (reason: Cannot assign requested address) -


when run on ubuntu

php artisan serve

laravel development server started on http://localhost:8000/

[mon apr 25 10:28:08 2016] failed listen on localhost:8000 (reason: cannot assign requested address)

my hosts file

/etc/hosts/

1 27.0.0.1 localhost

anyone used face same problem , how can solve this?

that's because it's in use, or not available on current host.

you can use command run php artisan serve --port=8080


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -