简体   繁体   English

为什么 nodeJS 在 macOS Monterey 上不起作用?

[英]Why nodeJS is not working on macOS Monterey?

Why is Control Center on macOS Monterey listening on port 5000 ?为什么 macOS Monterey 上的控制中心监听端口 5000? I'm using nodeJS for a work project and I cannot start node on the default port (indeed 5000).我正在将 nodeJS 用于工作项目,但无法在默认端口(实际上是 5000)上启动节点。

I found out a solution !我找到了解决办法! Just disable "Airplay Receiver" in "System Preference" -> "Sharing" and the port 5000 will be released again.只需在“系统偏好设置”->“共享”中禁用“Airplay Receiver”,5000 端口将再次释放。 For some reason in Monterey Airplay Receiver use the same 5000 port of nodeJS.出于某种原因,Monterey Airplay Receiver 使用相同的 nodeJS 5000 端口。 Airplay Settings播放设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM