debugger22 / github-audio

Listen to music generated by events happening across GitHub :octocat: 🎷
https://github.audio
MIT License
1.74k stars 99 forks source link

SocketIO connection refused #24

Closed prashant-andani closed 8 years ago

prashant-andani commented 8 years ago

Once the node serve is running and hit the http://localhost:8000 http://localhost/socket.io/?EIO=3&transport=polling&t=LUVnoRW Connection Refused - i.e ERR_CONNECTION_REFUSED I'm i missing anything??

debugger22 commented 8 years ago

Change https://github.com/debugger22/github-audio/blob/master/app/public/js/main.js#L35 to

var socket = io(document.location.hostname + ":8000");

Sorry for not documenting it.

debugger22 commented 8 years ago

Feel free to close the issue if it works for you.

prashant-andani commented 8 years ago

Yup ... it works now 👍 .. Thank you :)