Artisan错误:无法在localhost:8000上侦听 [英] Artisan Error: Failed to listen on localhost:8000

查看:107
本文介绍了Artisan错误:无法在localhost:8000上侦听的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装 laravel 时遇到问题.每当我在终端中输入"php artisan serve"时,它都会向我返回错误:

I'm having problem starting my laravel installation. Whenever I type in the terminal 'php artisan serve' it responses me an error:

无法在localhost:8000上侦听(原因:une临时d'access unα插座间的相互干扰会自动访问0t0tent0e)

Failed to listen on localhost:8000 (reason:une tentative d'access un α socket de maniere interdite par ses autorisation d'access a 0t0 tent0e)

有关如何解决此问题的任何想法?

any ideas on how to solve this?

提前谢谢.

img问题 http://i.imgur.com/rOt3Lat.png

现在可以正常工作,我只是将侦听端口从8000更改为8888或您的服务未使用的任何其他端口

it's works now I just changed the listen port from 8000 to 8888 or any other port your services didn't use it

'php工匠服务--port ="8888"'

'php artisan serve --port="8888"'

推荐答案

端口8000上是否还有其他服务在运行?

Are there any other services running on port 8000?

您可以在Windows上使用此命令:

You can use this command on Windows:

netstat -aon | more

或在Linux/OSX上

or on Linux / OSX

sudo netstat -plnt

查看正在运行的服务.然后禁用端口8000上运行的服务或使用其他端口.

to see what services are running. Then disable the service that is running on port 8000 or use another port.

这篇关于Artisan错误:无法在localhost:8000上侦听的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆