Error using httpclient on vertx
<p>Hello i'm trying to perform a rest call on a distant ressources using the code bellow. on vertx 3.3.3 it works with defaulthttpclient (appache) but it's not asynchron</p>

<p>i still get the error:
nov. 01, 2016 8:15:08 AM io.vertx.core.http.impl.HttpClientRequestImpl
GRAVE: java.net.ConnectException: Connection refused: localhost/127.0.0.1:80</p>

<pre><code>final HttpClient httpClient = vertx.createHttpClient();

        final HttpGet getRequest = new HttpGet(uri);

        httpClient.request(apiMethod.getHttpMethod(), uri, resultHandler -&gt; {
            resultHandler.statusCode();
            if (resultHandler.statusCode() == 200) {
                environment.setStatus(ApiStatus.OK);
                apiMethod.setStatus(ApiStatus.OK);
            } else {
                environment.setStatus(ApiStatus.ERROR);
                apiMethod.setStatus(ApiStatus.ERROR);
            }
            resultHandler.bodyHandler(buffer -&gt; {
                String message = "";
                logger.debug("Output from Server .... \n");
                logger.debug(buffer);
                message = buffer.toString();
                apiMethod.setCallingDate(new Date());
                apiMethod.setCallingResult(message);
            });
        }).putHeader("content-type", "application/json").end();
</code></pre>

<p>Can anyone help?</p>

<p>Best regards,</p>