From f6cebf6956045ec6ccc673227e5d0ea7ff77105b Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sat, 22 Jan 2022 17:03:27 +0000 Subject: [PATCH] Listen on INADDR_ANY by default --- examples/http-server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http-server/main.c b/examples/http-server/main.c index 20b652be..a6ca9ce6 100644 --- a/examples/http-server/main.c +++ b/examples/http-server/main.c @@ -6,7 +6,7 @@ static const char *s_debug_level = "2"; static const char *s_root_dir = NULL; -static const char *s_listening_address = "http://localhost:8000"; +static const char *s_listening_address = "http://0.0.0.0:8000"; static const char *s_enable_hexdump = "no"; static const char *s_ssi_pattern = "#.html";