Answer the question
In order to leave comments, you need to log in
Is it possible to use two platforms on the same server?
Hello. There is a customer site written by someone in ASP and there is an order that needs to be written in NodeJS. Is it possible to use them within the same domain, using different ports, and not be afraid of restrictions on cross-domain requests?
Answer the question
In order to leave comments, you need to log in
Of course it is possible. How to do it depends on the task. You can simply make the node listen to all requests on a specific port, but this has its drawbacks if you need to give statics as well. You can set request proxying through which nginx, for example, so that it would give the statics, and the node would process everything else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question