On Server use Port 8080 and start socket.io as usual with http or express. On Client do NOT: var socket = io.connect(... DO: var socket = io();
Thats it. Found at heroku and works at OpenShift as well. https://devcenter.heroku.com/articles/node-websockets#create-a-socket-io-client
On Server use Port 8080 and start socket.io as usual with http or express.
On Client do
NOT: var socket = io.connect(...
DO: var socket = io();
Thats it. Found at heroku and works at OpenShift as well.
https://devcenter.heroku.com/articles/node-websockets#create-a-socket-io-client