What port should my Socket.IO server run on?

Are there any suggested ports for running Socket.IO servers? I am currently running Socket.IO on ports 6001,6002 and 6003. However, I find that some people have problems connecting to them, so I was wondering if there are any better ones.

+6
source share
2 answers

If socket.IO does not have some odd implementation, you should be able to use the regular port 80 and 443 as you are connecting to a separate protocol.

+7
source

The only things to look for are firewalls, so you should read this study about Socket.IO and firewalls: https://github.com/LearnBoost/socket.io/wiki/Socket.IO-and-firewall-software p>

+6
source

Source: https://habr.com/ru/post/903507/


All Articles