def host_and_port(service, port)
      result = @session.port(service, port.to_s)
      if result
        result.chomp!
      else
        raise NoService,
              "Service '#{service}' not running, or does not " \
              "publish port '#{port}'"
      end

      host, port = result.split(':')
      host = @override_host if @override_host

      [host, Integer(port)]
    end
def host_and_port(service, port)
      result = @session.port(service, port.to_s)
      if result
        result.chomp!
      else
        raise NoService,
              "Service '#{service}' not running, or does not " \
              "publish port '#{port}'"
      end

      host, port = result.split(':')
      host = @override_host if @override_host

      [host, Integer(port)]
    end
Figure out which host port a given service's port has been published to,
 and/or whether that service is running. Cannot distinguish between the
 "service not running" case and the "container port not published" case!

 @raise [NoService] if service is not up or does not publish port
 @return [Array] (String, Integer) pair of host address and port number