From f25ff5fffe5bc97750c756b7eb72fc82c976239c Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Mon, 3 Aug 2026 12:10:14 +0200 Subject: [PATCH 1/3] server: add notice for upcoming default port change 8080 --> 6631 --- tools/server/server.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/server/server.cpp b/tools/server/server.cpp index a3b2a8b0fe1b..da74a5c2d7d5 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -486,6 +486,12 @@ int llama_server(common_params & params, int argc, char ** argv) { SRV_INF("listening on %s\n", ctx_http.listening_address.c_str()); + // TODO: remove this in the future + // check the string to also handle the .sock case + if (string_ends_with(ctx_http.listening_address, ":8080")) { + SRV_WRN("%s", "NOTICE: server default port will be changed to :6631 in a future release\n"); + } + if (is_router_server) { if (!params.models_preset_hf.empty()) { SRV_WRN( "NOTE: using preset.ini from HF repo '%s'\n", params.models_preset_hf.c_str()); From 41a95911b7f2b288b5d3f351d49ddf0360e86a25 Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Mon, 3 Aug 2026 12:14:24 +0200 Subject: [PATCH 2/3] add link to PR --- tools/server/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/server/server.cpp b/tools/server/server.cpp index da74a5c2d7d5..042838bbe777 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -490,6 +490,7 @@ int llama_server(common_params & params, int argc, char ** argv) { // check the string to also handle the .sock case if (string_ends_with(ctx_http.listening_address, ":8080")) { SRV_WRN("%s", "NOTICE: server default port will be changed to :6631 in a future release\n"); + SRV_WRN("%s", " ref: https://github.com/ggml-org/llama.cpp/pull/26508\n"); } if (is_router_server) { From 7f5903206ce9465431de3e8661eea1a275b8064f Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Mon, 3 Aug 2026 12:18:50 +0200 Subject: [PATCH 3/3] correct to 9931 --- tools/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/server/server.cpp b/tools/server/server.cpp index 042838bbe777..aafb1f307966 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -489,7 +489,7 @@ int llama_server(common_params & params, int argc, char ** argv) { // TODO: remove this in the future // check the string to also handle the .sock case if (string_ends_with(ctx_http.listening_address, ":8080")) { - SRV_WRN("%s", "NOTICE: server default port will be changed to :6631 in a future release\n"); + SRV_WRN("%s", "NOTICE: server default port will be changed to :9931 in a future release\n"); SRV_WRN("%s", " ref: https://github.com/ggml-org/llama.cpp/pull/26508\n"); }