{"action":"created","issue":{"url":"https://api.github.com/repos/TopCloud/socketcluster/issues/66","labels_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/66/comments","events_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/66/events","html_url":"https://github.com/TopCloud/socketcluster/issues/66","id":73760318,"number":66,"title":"Passing a proper host variable for the net.listen call","user":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-06T22:44:21Z","updated_at":"2015-05-09T21:39:17Z","closed_at":"2015-05-09T21:39:17Z","body":"I just pushed my code to my Git repo, which is linked to an actual outsourcing IP, so I can see how things look like on that remote server. So I added `host: some_ip` to my config passed to `new SocketCluster`. Turns out that this does not work. Doing a `grep -r \".listen\" node_modules/socketcluster` reveals that only the Port value seems to be used at all.\r\n\r\nIs there a way to also enable use of the `host` parameter to `net.listen`? For now I probably have to proxy all connections via Nginx..."},"comment":{"url":"https://api.github.com/repos/TopCloud/socketcluster/issues/comments/100551531","html_url":"https://github.com/TopCloud/socketcluster/issues/66#issuecomment-100551531","issue_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/66","id":100551531,"user":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T21:39:17Z","updated_at":"2015-05-09T21:39:17Z","body":"It works! Thanks for this fix :)"}}