>        return ContextBuilder.newBuilder(new EC2ApiMetadata())
>              .credentials(ACCESS_KEY, SECRET_KEY)
> -            .endpoint("http://localhost:"; + 
> regionToServers.get(DEFAULT_REGION).getPort())
> +            .endpoint("http://"; + defaultServer.getHostName() + ":" + 
> defaultServer.getPort())

careful with hostnames. this usually crashes on build servers. that's why I 
tend to use localhost directly.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/617/files#r20973251

Reply via email to