Origins with Port 80
When serving the html file from a localhost or apache server and also giving origins it gives error for illegal origin I realized that in the concept of origins, http://localhost is not equal to http://localhost:80 When using apache server to serve the file, ports part of the origins parameter is empty which according to me should be 80. So to set it, i changed the code and added a pull request
Related to Pull request https://github.com/LearnBoost/socket.io/pull/633
As einaros said, i opened this issue for a better solution the above problem
http://i44.tinypic.com/2h4cgpe.jpg
Reproducible code: https://gist.github.com/1363426 Please see the comments sections
Thank you. I've fixed this in my fork now. You can go ahead and close the pull request.
Need not thank me.. I wasn't sure the behavior was intended or not. Good to know that i contributed something to this awesome library..!! Thanks