当我在 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/