{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/550","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/550/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/550/events","html_url":"https://github.com/hashicorp/consul/issues/550","id":52474213,"number":550,"title":"Advertise Ports","user":{"login":"i0rek","id":38218,"avatar_url":"https://avatars.githubusercontent.com/u/38218?v=3","gravatar_id":"","url":"https://api.github.com/users/i0rek","html_url":"https://github.com/i0rek","followers_url":"https://api.github.com/users/i0rek/followers","following_url":"https://api.github.com/users/i0rek/following{/other_user}","gists_url":"https://api.github.com/users/i0rek/gists{/gist_id}","starred_url":"https://api.github.com/users/i0rek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i0rek/subscriptions","organizations_url":"https://api.github.com/users/i0rek/orgs","repos_url":"https://api.github.com/users/i0rek/repos","events_url":"https://api.github.com/users/i0rek/events{/privacy}","received_events_url":"https://api.github.com/users/i0rek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-12-19T11:37:01Z","updated_at":"2015-01-06T18:38:55Z","closed_at":null,"body":"I want to suggest another configuration option and I am curious what you think. Similiar to `AdvertiseAddr` I want to introduce `AdvertisePorts`. It would be very similiar to the existing `Ports` configuration option. `AdvertisePorts` would allow to specify the ports a consul client is reachable on. \r\n\r\nUse case: I want to run consul client in a container. I have multiple containers per host and multipe hosts. There is a seperate host running consul server. My problem is that I can use `AdvertiseAddr` to communicate the container host ip, but I cannot configure different ports. Without it I can only run one consul per host because the ports are claimed then."},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/68910346","html_url":"https://github.com/hashicorp/consul/issues/550#issuecomment-68910346","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/550","id":68910346,"user":{"login":"rotatingJazz","id":2533411,"avatar_url":"https://avatars.githubusercontent.com/u/2533411?v=3","gravatar_id":"","url":"https://api.github.com/users/rotatingJazz","html_url":"https://github.com/rotatingJazz","followers_url":"https://api.github.com/users/rotatingJazz/followers","following_url":"https://api.github.com/users/rotatingJazz/following{/other_user}","gists_url":"https://api.github.com/users/rotatingJazz/gists{/gist_id}","starred_url":"https://api.github.com/users/rotatingJazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotatingJazz/subscriptions","organizations_url":"https://api.github.com/users/rotatingJazz/orgs","repos_url":"https://api.github.com/users/rotatingJazz/repos","events_url":"https://api.github.com/users/rotatingJazz/events{/privacy}","received_events_url":"https://api.github.com/users/rotatingJazz/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T18:38:55Z","updated_at":"2015-01-06T18:38:55Z","body":"@ryanuber I've tried that, it only works when all the nodes have the same ports."}}