gpt4 book ai didi

meteor - 如何解决meteor js中的 `--port`错误

转载 作者:行者123 更新时间:2023-12-02 06:09:54 25 4
gpt4 key购买 nike

当我在 linux cent-os 中重新启动 Meteor 时,出现以下控制台错误:

Can't listen on port 3000. Perhaps another Meteor is running?

Running two copies of Meteor in the same application directory will not work. If something else is using port 3000, you can specify an alternative port with --port <port>.

最佳答案

您可以尝试在不同的端口上运行meteor:

meteor --port 8000

如果您确定端口 3000 上没有任何东西正在运行,请尝试在运行 Meteor 之前将其关闭

kill -9 mongos
kill -9 node

另一种选择是重新启动计算机。

关于meteor - 如何解决meteor js中的 `--port`错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21925227/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com