How to run a node.js instance on my server?

I tried running an Express application (node.js framework) on the server where I am hosting my XenForo, but when I navigate to the correct port I get an error in the browser saying 'unexpectedly closed connection'. How can I fix this error?
Last edited: