Answer the question
In order to leave comments, you need to log in
How to update information on the site in real time?
Good afternoon. I see a lot of articles about Socket.io in conjunction with Node.js, but I have never used node, and have absolutely no idea how to install it on shared hosting. I often see entries that the socket needs to set the listening port, but how do I know which port to listen on? In general, if you can, explain to an outsider in this matter how to update information in real time and, preferably, without unnecessary troubles with hosting.
Answer the question
In order to leave comments, you need to log in
You won’t be able to install Node.js on classic shared hosting , you
will need your own server, since now virtual machines are usually cheaper than shared hosting,
although in this case you will have to configure everything yourself
about the port, but use any free one, the main thing is to be open to the outside, though it’s better through nginx to throw a proxy about Socket.io
- a creepy game, albeit hyped, but slow, with memory leaks, and generally a good example of how not to write ... Despite the fact that in 99% of cases the ws module on which it is based is enough, well, or take ws-api as a last resort if you need a high-level abstraction
I have absolutely no idea how to install it on a virtual host
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question