沧海一粟

  • Home
  • Archives
  • Table of Contents
  • Overview

Wisely Zou

52 posts
12 categories
24 tags
GitHub
Links
  • 半醉浮生 PT
  • Allen Hua 的网络博客
  • 天雨的博客
  • 苍穹の下

Why Express cannot listen on port 80

Posted on 2018-09-04 Edited on 2026-01-29 In Uncategorized Views:

Actually it can listen, but ports below 1024 require root privileges. This poses a security risk. So, you can use traffic forwarding. Use firewalld under CentOS 7

systemctl start  firewalld
firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8080
为何express无法监听80端口
设置Samba服务器中新建文件/目录的权限
© 2023 – 2026 Wisely Zou
Powered by Hexo & NexT.Pisces
0%