From e060e0325919b7221c03d6167883d2bc715a5a45 Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Mon, 14 Oct 2024 11:24:50 +0200 Subject: [PATCH] Add a warning about the listening IP change in 5.10.3 --- commands/local_server_start.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/local_server_start.go b/commands/local_server_start.go index 9df40292..04ddf087 100644 --- a/commands/local_server_start.go +++ b/commands/local_server_start.go @@ -304,6 +304,10 @@ var localServerStartCmd = &console.Command{ reexec.NotifyForeground("listening") ui.Warning(localWebServerProdWarningMsg) + if config.ListenIp == "127.0.0.1" { + ui.Warning(`Please note that the Symfony CLI only listens on 127.0.0.1 by default since version 5.10.3. + You can use the --allow-all-ip or --listen-ip flags to change this behavior.`) + } ui.Success(msg) }