It is necessary to make two users interact online via a browser. The question is which technology can this be implemented on?
The question is not specific. If the task comes down to, for example, arranging a chat for two users on a web page, then there are many approaches for its implementation.
- server code on Node.js.
NodeJS + Redis I would advise you.