diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/HttpConfiguration.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/HttpConfiguration.java index d7b8c233b5de6..66ddb0fe202fb 100644 --- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/HttpConfiguration.java +++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/HttpConfiguration.java @@ -45,6 +45,10 @@ public class HttpConfiguration { * Defaulting to 0.0.0.0 makes it easier to deploy Quarkus to container, however it * is not suitable for dev/test mode as other people on the network can connect to your * development machine. + *
+ * As an exception, when running in Windows Subsystem for Linux (WSL), the HTTP host + * defaults to 0.0.0.0 even in dev/test mode since using localhost makes the application + * inaccessible. */ @ConfigItem public String host;