{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1400","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1400/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1400/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1400/events","html_url":"https://github.com/capistrano/capistrano/issues/1400","id":63070900,"number":1400,"title":"Host comparison should also check for ports.","user":{"login":"ShogunPanda","id":201101,"avatar_url":"https://avatars.githubusercontent.com/u/201101?v=3","gravatar_id":"","url":"https://api.github.com/users/ShogunPanda","html_url":"https://github.com/ShogunPanda","followers_url":"https://api.github.com/users/ShogunPanda/followers","following_url":"https://api.github.com/users/ShogunPanda/following{/other_user}","gists_url":"https://api.github.com/users/ShogunPanda/gists{/gist_id}","starred_url":"https://api.github.com/users/ShogunPanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShogunPanda/subscriptions","organizations_url":"https://api.github.com/users/ShogunPanda/orgs","repos_url":"https://api.github.com/users/ShogunPanda/repos","events_url":"https://api.github.com/users/ShogunPanda/events{/privacy}","received_events_url":"https://api.github.com/users/ShogunPanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-19T19:20:46Z","updated_at":"2016-01-20T02:36:49Z","closed_at":null,"body":"Hi all!\r\n\r\nCurrently Capistrano does this:\r\n\r\n```ruby\r\nclass Capistrano::Configuration::Server\r\n  def matches?(other)\r\n    hostname == other.hostname\r\n  end\r\nend\r\n```\r\n\r\nwhich only check against the hostname.\r\nShould we include the port as well? Otherwise it's impossible to differentiate the server basing the full address.\r\n\r\n```ruby\r\nclass Capistrano::Configuration::Server\r\n  def matches?(other)\r\n    hostname == other.hostname && port == other.port\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/comments/173064795","html_url":"https://github.com/capistrano/capistrano/issues/1400#issuecomment-173064795","issue_url":"https://api.github.com/repos/capistrano/capistrano/issues/1400","id":173064795,"user":{"login":"mattbrictson","id":189693,"avatar_url":"https://avatars.githubusercontent.com/u/189693?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrictson","html_url":"https://github.com/mattbrictson","followers_url":"https://api.github.com/users/mattbrictson/followers","following_url":"https://api.github.com/users/mattbrictson/following{/other_user}","gists_url":"https://api.github.com/users/mattbrictson/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrictson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrictson/subscriptions","organizations_url":"https://api.github.com/users/mattbrictson/orgs","repos_url":"https://api.github.com/users/mattbrictson/repos","events_url":"https://api.github.com/users/mattbrictson/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrictson/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T02:36:49Z","updated_at":"2016-01-20T02:36:49Z","body":"Re-opening as it seems multiple people have reported this."}}