Z
Z
zauso2018-04-22 18:22:54
Node.js
zauso, 2018-04-22 18:22:54

How to accept requests on different server ports, then redirect?

It is necessary that for each client a port on the server is allocated (automatically). Which will receive POST requests. Then redirect them to the NodeJS instance. Is it possible to implement this, and how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-04-22
@pfg21

meee how it "was allocated automatically", more precisely what method?? write in more detail what you want.
Alternatively, the main control protocol hangs on a separate port, which assigns ports through which the rest of the data exchange is performed (as in ftp or rpc) or something else ??
so-and-so the chief that assigns a port and sends its number to the client, and must open it on the server and forward it where it needs to be ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question