3 ms·
Most people don't like their public web servers to be on ports other than 80/443. If you want the resources served by Node.js and another webserver to be on th
by tlrobinson 16y ago
Most people don't like their public web servers to be on ports other than 80/443.
If you want the resources served by Node.js and another webserver to be on the same domain/port you need some sort of proxy configuration.
- EGreg 16y agoOkay but I am assuming that most web servers are not run from users' private computer networks, but from dedicated data centers, or somewhere in "the cloud". But yea I agree if you want node to listen on port 80 then you either forward certain URLs to it (using nginx this is easy), or or you just get another IP to point to the same machine, which is probably better.