summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/java/org/sonar/server/es/ESNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/es/ESNode.java b/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
index 529f042abc0..446b6ff1ca0 100644
--- a/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
+++ b/sonar-server/src/main/java/org/sonar/server/es/ESNode.java
@@ -120,7 +120,7 @@ public class ESNode implements Startable {
}
private void initRestConsole(ImmutableSettings.Builder esSettings) {
- int httpPort = 8888;//settings.getInt("sonar.es.http.port");
+ int httpPort = settings.getInt("sonar.es.http.port");
if (httpPort > 0) {
LOG.warn("Elasticsearch HTTP console enabled on port {}. Only for debugging purpose.", httpPort);
esSettings.put(HTTP_ENABLED, true);