跳到主要内容
CNode

使用Windows server监听80端口报错Port 80 requires elevated privileges

问答
118823752727发布于 10 年前最后回复 10 年前
296630

使用nodejs 开启服务监听80失败,报权限不够,求解决

查看回复

回复 (2)

X
xcatliu#210 年前

即便是在 Linux 上,也不建议跑在 80 端口,可以换成 8000 端口试试。 然后用 IIS 或者 Nginx on Windows 将 8000 端口反带到 80 端口上即可,注意防火墙设置。

I
i5ting#110 年前

使用管理员权限,或者换一个别的端口试试,不建议window上跑

参与回复

登录后即可参与回复。登录