SocketIO connection refused
prashant-andani opened this issue · 3 comments
prashant-andani commented
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
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
Feel free to close the issue if it works for you.
prashant-andani commented
Yup ... it works now 👍 .. Thank you :)