Skip to content
Snippets Groups Projects
Commit 86c9cb8d authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7303: Try host.docker.internal

parent 68f92d60
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ public class ElasticsearchTestClient {
}
private static RestClient buildRestClient() {
var host = new HttpHost("localhost", ELASTICSEARCH_CONTAINER.getMappedPort(PORT), SCHEME);
var host = new HttpHost("host.docker.internal", ELASTICSEARCH_CONTAINER.getMappedPort(PORT), SCHEME);
var credentialsProvider = buildCredentialsProvider();
var builder = RestClient.builder(host);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment