From 22de325802d42bb6f78e14835cb47c78c4a99497 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 29 Oct 2023 14:55:31 -0400 Subject: [PATCH] Update UIAppCmd.java to set UI on 0.0.0.0 using localhost or 127.0.0.1 doest work in WSL Ubuntu --- .../java/ai/langstream/cli/commands/applications/UIAppCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langstream-cli/src/main/java/ai/langstream/cli/commands/applications/UIAppCmd.java b/langstream-cli/src/main/java/ai/langstream/cli/commands/applications/UIAppCmd.java index 0f24a491d..5a9ea7cee 100644 --- a/langstream-cli/src/main/java/ai/langstream/cli/commands/applications/UIAppCmd.java +++ b/langstream-cli/src/main/java/ai/langstream/cli/commands/applications/UIAppCmd.java @@ -169,7 +169,7 @@ public static Undertow startServer( Undertow server = Undertow.builder() - .addHttpListener(port, "localhost") + .addHttpListener(port, "0.0.0.0") .setHandler(routingHandler) .build(); server.start();