You can host multiple http servers on one VPS. The conflict will occur only if both nginx and node.js are connected to the same port. For example, if your nginx web server is listening on port 80, then your node.js http server should not listen on 80, but say port 8080. You can also configure a reverse proxy server (in case you need to abstract the internal network and serve clients on the same port), where you will accept incoming connections on port 80, and nginx will send a node.js-specific message to port 8080.
source share