When I try executing the php artisan serve command in my terminal on laravel 5.0 I'm getting this error.
Failed to listen on localhost:8000 (reason: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known)
I'm on a mac using MAMP, my /etc/hosts file contains:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost