problem solved. all server configuration was correct, apparently a firewall in client side was blocking that port. so I am switching to sockjs which uses the same port as http server (port 80), thus there is no risk of connection being blocked from client side.
Answer by Nasser Torabzade for How to open a port below 1024 in Cent OS for socket.io?
Leave a reply