8000 Merge pull request #526 from tucksaun/feat/listen-warning · nuonic-digital/symfony-cli@7a9749e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a9749e

Browse files
authored
Merge pull request symfony-cli#526 from tucksaun/feat/listen-warning
Add a warning about the listening IP change in 5.10.3
2 parents f25f81a + e060e03 commit 7a9749e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commands/local_server_start.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ var localServerStartCmd = &console.Command{
304304

305305
reexec.NotifyForeground("listening")
306306
ui.Warning(localWebServerProdWarningMsg)
307+
if config.ListenIp == "127.0.0.1" {
308 54BE +
ui.Warning(`Please note that the Symfony CLI only listens on 127.0.0.1 by default since version 5.10.3.
309+
You can use the --allow-all-ip or --listen-ip flags to change this behavior.`)
310+
}
307311
ui.Success(msg)
308312
}
309313

0 commit comments

Comments
 (0)
0