{"action":"created","issue":{"url":"https://api.github.com/repos/azukiapp/azk/issues/218","labels_url":"https://api.github.com/repos/azukiapp/azk/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/azukiapp/azk/issues/218/comments","events_url":"https://api.github.com/repos/azukiapp/azk/issues/218/events","html_url":"https://github.com/azukiapp/azk/issues/218","id":53778376,"number":218,"title":"Improve generator for ruby apps using rack gem","user":{"login":"lucasfais","id":26623,"avatar_url":"https://avatars.githubusercontent.com/u/26623?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasfais","html_url":"https://github.com/lucasfais","followers_url":"https://api.github.com/users/lucasfais/followers","following_url":"https://api.github.com/users/lucasfais/following{/other_user}","gists_url":"https://api.github.com/users/lucasfais/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasfais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasfais/subscriptions","organizations_url":"https://api.github.com/users/lucasfais/orgs","repos_url":"https://api.github.com/users/lucasfais/repos","events_url":"https://api.github.com/users/lucasfais/events{/privacy}","received_events_url":"https://api.github.com/users/lucasfais/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/azukiapp/azk/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-08T17:40:42Z","updated_at":"2015-01-08T19:54:11Z","closed_at":null,"body":"As we can see in this pull request (https://github.com/rack/rack/pull/514), rack gem changed your default host from `0.0.0.0` to `localhost` when starting up a server.\r\n\r\nThat change makes Azk fail to start a system right after execute `azk init` command.\r\n\r\nSo when generating the `Azkfile.js` for rack apps, Azk should add `--host 0.0.0.0` argument to the command instruction."},"comment":{"url":"https://api.github.com/repos/azukiapp/azk/issues/comments/69238334","html_url":"https://github.com/azukiapp/azk/issues/218#issuecomment-69238334","issue_url":"https://api.github.com/repos/azukiapp/azk/issues/218","id":69238334,"user":{"login":"lucasfais","id":26623,"avatar_url":"https://avatars.githubusercontent.com/u/26623?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasfais","html_url":"https://github.com/lucasfais","followers_url":"https://api.github.com/users/lucasfais/followers","following_url":"https://api.github.com/users/lucasfais/following{/other_user}","gists_url":"https://api.github.com/users/lucasfais/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasfais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasfais/subscriptions","organizations_url":"https://api.github.com/users/lucasfais/orgs","repos_url":"https://api.github.com/users/lucasfais/repos","events_url":"https://api.github.com/users/lucasfais/events{/privacy}","received_events_url":"https://api.github.com/users/lucasfais/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T19:54:11Z","updated_at":"2015-01-08T19:54:11Z","body":"@lsdr there is a bigger thing related to this: your app server runs inside a container and each container has your own `localhost` (loopback) interface. So, if the app server binds to `localhost`, it will be reachable only inside its own container.\r\n\r\nAnyway, running Azk on Mac or Linux, it's not possible for Azk to check the connectivity to a port listen on `localhost` interface inside a container, due the \"containers nature\"."}}