[英]Laravel server not starting
I have a fresh installed laravel app and when i run php artisan serve
it shows me the server information but when i go to that server it gives a cant be reach error. 我有一个全新安装的laravel应用,当我运行
php artisan serve
它向我显示了服务器信息,但是当我转到该服务器时,它给出了无法到达的错误。 I am not running Vagrant just MAMP but it used to work before. 我不是只运行Mag的Vagrant,但以前曾经工作过。 I did tried to install Vagrant in the past and it didn't work that is why i came back to MAMP only.
我过去曾尝试安装Vagrant,但没有成功,这就是为什么我只回到MAMP。 I read something about generating a key with
php artisan key:generate
which didn't work. 我读了一些有关使用
php artisan key:generate
,但无效。 Any help is appreciated. 任何帮助表示赞赏。
This is the command I am using and the result 这是我正在使用的命令和结果
$ php artisan serve
Laravel development server started: <http://127.0.0.1:8000>
如果有,请尝试卸载防病毒软件,以我为例,我卸载avast并重新启动OS,它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.