且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不同的端口上运行meteor

更新时间:2022-11-30 16:00:49

听起来可能是您机器上的访问问题.

Sounds like it might be access issue on your machine.

查看以下答案,它可能与您的问题有关.引用:

Check out this following answer, which might be related to your question. Quoting:

作为一般规则,没有root权限运行的进程不能绑定到1024以下的端口.

"As as a general rule processes running without root privileges cannot bind to ports below 1024.

所以尝试更高的端口,或者通过 sudo 以提升的权限运行."

So try a higher port, or run with elevated privileges via sudo."

因此,您可以看到带有您的端口号的 sudo metre run 将起作用,但是您可以解决根本原因,即修复节点 root 权限.

So, you can see that sudo meteor run with your port number will work, but that you can address the root cause, which is fixing the node root privilege.

侦听大多数端口时 Node.js EACCES 错误