{"action":"opened","issue":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/118","labels_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/118/comments","events_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/118/events","html_url":"https://github.com/gaearon/react-hot-loader/issues/118","id":67900373,"number":118,"title":"Cannot connect to Socket when dev-server are in another machine","user":{"login":"ericfong","id":237028,"avatar_url":"https://avatars.githubusercontent.com/u/237028?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfong","html_url":"https://github.com/ericfong","followers_url":"https://api.github.com/users/ericfong/followers","following_url":"https://api.github.com/users/ericfong/following{/other_user}","gists_url":"https://api.github.com/users/ericfong/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfong/subscriptions","organizations_url":"https://api.github.com/users/ericfong/orgs","repos_url":"https://api.github.com/users/ericfong/repos","events_url":"https://api.github.com/users/ericfong/events{/privacy}","received_events_url":"https://api.github.com/users/ericfong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T10:55:08Z","updated_at":"2015-04-12T10:55:08Z","closed_at":null,"body":"We have vm setup. And we would like to dev inside the vm which have different ip.\r\n\r\nAnd we get many \r\nhttp://127.28.128.3:8002/socket.io/?EIO=3&transport=polling&t=1428835579718-23 net::ERR_CONNECTION_TIMED_OUT\r\n\r\n```js\r\n\t\tvar server = new WebpackDevServer(compiler, {\r\n\t\t\tcontentBase: OUTPUT_BASE,\r\n\t\t\tpublicPath: HOT_HOST+\"/\"+OUTPUT_DIR,\r\n\t\t\theaders: {\"Access-Control-Allow-Origin\": \"*\"},\r\n\t\t\thot: true,\r\n\t\t\tquiet: false,\r\n\t\t\tnoInfo: true,\r\n\t\t\tstats: { colors: true },\r\n\t\t\tproxy: {\r\n\t\t\t\t\"*\": \"http://localhost:\"+KOA_PORT\r\n\t\t\t}\r\n\t\t});\r\n\t\tserver.listen(HOT_PORT, function(){\r\n\t\t\tconsole.log('Listening Port', HOT_HOST);\r\n\t\t});\r\n```"}}