有php artisan的问题使用laravel服务

时间:2015-03-17 03:55:52

标签: php macos laravel terminal mamp

当我在laravel 5.0的终端上尝试执行php artisan serve命令时,我收到此错误。

Failed to listen on localhost:8000 (reason: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known)

我在使用MAMP的mac上,我的/ etc / hosts文件包含:

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

0 个答案:

没有答案