How to start node.js on port 80 on a linux server?

后端 未结 5 1498
暖寄归人
暖寄归人 2021-01-03 04:47

When I try to start node on port 80, the error tells me that the port is in use. I imagine that\'s Apache.

What is the proper way to \"take over\" port 80, and keep

5条回答
  •  余生分开走
    2021-01-03 05:50

    you can use node.js with node-http-proxy check this link How to use vhosts alongside node-http-proxy? and How do I run Node.js on port 80?

    Thanks & Regards,
    Alok

提交回复
热议问题