我尝试使用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?