P
P
paul_kolesnyk2016-12-18 19:15:17
JavaScript
paul_kolesnyk, 2016-12-18 19:15:17

(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

1 answer(s)
T
toly19, 2016-12-18
@toly19

denwer is not suitable for a node.
install itself node.js
denwer - php only

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question