{"action":"created","issue":{"url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/5","labels_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/5/comments","events_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/5/events","html_url":"https://github.com/centrifugal/centrifuge-js/issues/5","id":119088762,"number":5,"title":"Could not connect to centrifugo server using docker-compose","user":{"login":"Mafioso","id":195238,"avatar_url":"https://avatars.githubusercontent.com/u/195238?v=3","gravatar_id":"","url":"https://api.github.com/users/Mafioso","html_url":"https://github.com/Mafioso","followers_url":"https://api.github.com/users/Mafioso/followers","following_url":"https://api.github.com/users/Mafioso/following{/other_user}","gists_url":"https://api.github.com/users/Mafioso/gists{/gist_id}","starred_url":"https://api.github.com/users/Mafioso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mafioso/subscriptions","organizations_url":"https://api.github.com/users/Mafioso/orgs","repos_url":"https://api.github.com/users/Mafioso/repos","events_url":"https://api.github.com/users/Mafioso/events{/privacy}","received_events_url":"https://api.github.com/users/Mafioso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-26T18:16:36Z","updated_at":"2015-11-27T10:19:58Z","closed_at":null,"body":"Hello, when I am running centrifugo in a docker container and my web app that serve client static content is running on the local host machine, connection to centrifugo server is well established. However, when I am trying to do the same, but using docker-compose by linking app with centrifugo, I receive connection error. Centrifugo Server receives http request, but it just logs it without any error code.\r\n\r\ndocker-compose.yml\r\n\r\n```\r\napp:\r\n  image: anguis/natr_app:latest\r\n  command: python manage.py runserver 0.0.0.0:8000\r\n  volumes:\r\n    - .:/natr\r\n  ports:\r\n    - \"8000:8000\"\r\n  volumes_from:\r\n    - media\r\n  links:\r\n    - centrifugo\r\n\r\ncentrifugo:\r\n  image: fzambia/centrifugo:latest\r\n  command: centrifugo -c config.json -w --port=8001  --log_level=debug --debug --insecure --address=0.0.0.0\r\n  ports:\r\n    - \"8001:8001\"\r\n  volumes:\r\n    - ./conf/centrifugo.json:/centrifugo/config.json   # centrifugo -c config.json -w /opt/centrifugo/web\r\n```\r\n\r\nChrome console log\r\n\r\n```\r\nGET http://172.17.0.74:8001/connection/info?t=1448561808764 net::ERR_CONNECTION_REFUSED\r\n```\r\n\r\nClient connection setings\r\n```\r\nvar centrifuge = new Centrifuge({\r\n        url: '172.17.0.74:8001',\r\n        user: '1',\r\n        timestamp: '1448561553',\r\n        token: '288aa3318b41a0f7b6fd547e2964ab7915f6f59d871e9b46f25c03ccffc15430'\r\n      });\r\ncentrifuge.connect()\r\n```"},"comment":{"url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/comments/160106047","html_url":"https://github.com/centrifugal/centrifuge-js/issues/5#issuecomment-160106047","issue_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/5","id":160106047,"user":{"login":"FZambia","id":1196565,"avatar_url":"https://avatars.githubusercontent.com/u/1196565?v=3","gravatar_id":"","url":"https://api.github.com/users/FZambia","html_url":"https://github.com/FZambia","followers_url":"https://api.github.com/users/FZambia/followers","following_url":"https://api.github.com/users/FZambia/following{/other_user}","gists_url":"https://api.github.com/users/FZambia/gists{/gist_id}","starred_url":"https://api.github.com/users/FZambia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FZambia/subscriptions","organizations_url":"https://api.github.com/users/FZambia/orgs","repos_url":"https://api.github.com/users/FZambia/repos","events_url":"https://api.github.com/users/FZambia/events{/privacy}","received_events_url":"https://api.github.com/users/FZambia/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T10:19:58Z","updated_at":"2015-11-27T10:19:58Z","body":"Does your web interface open on http://172.17.0.74:8001?"}}