php artisan服务于Windows无法正常工作?

时间:2017-03-15 17:09:51

标签: php laravel laravel-5 laravel-5.2 git-bash

我尝试使用git bash在我的窗口上运行此命令:

php artisan serve --host=0

但是我收到了这个错误:

PHP Warning:  Unknown: php_network_getaddresses: geta
> ddrinfo failed: No such host is known.  in Unknown on line 0 [Wed Mar
> 15 18:02:32 2017] Failed to listen on 0:8000 (reason:
> php_network_getad dresses: getaddrinfo failed: No such host is known.
> ) <br /> <b>Warning</b>:  Unknown: php_network_getaddresses:
> getaddrinfo failed: No such host is known.  in <b>Unknown</b> on line
> <b>0</b><br /> error

and suggestion?

0 个答案:

没有答案