Y
Y
Yuri2016-04-10 18:59:53
Socket.io
Yuri, 2016-04-10 18:59:53

How to change socket.io port?

Now socket.io works through ***.com:8303/socket.io
How can I make everything work the same way, but through port 80?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-04-10
@Sanasol

why?
Where will the webserver work?
Well, in general, the port in the script is set by which the server starts.
var io = require('socket.io').listen(9090);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question