Artisan错误:无法在localhost:8000上侦听

编程入门 行业动态 更新时间:2024-10-25 15:22:38
本文介绍了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问题 i.imgur/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上侦听

本文发布于:2023-07-15 01:57:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1108349.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Artisan   localhost

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!