Answer the question
In order to leave comments, you need to log in
(Node.js + Socket.io) How to use chat on the server?
I wrote a file (server - server.js) that listens on a port, receives messages and sends. Then I wrote the form itself, from where I will send a message and where everyone in the chat will be displayed. On the local server (Denwer) everything works, but how to run the node script (server.js) on the server itself, which will listen on the port on the server? Thanks.)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question