config(qemu): correct port forward host address

QEMU implicitly uses 0.0.0.0 as the host address when left blank so
it was a mistake to show a default as 127.0.0.1

Fixes #7132
This commit is contained in:
osy
2025-07-27 20:34:49 -07:00
parent 61172b390b
commit 14cdf86184
@@ -26,7 +26,7 @@ struct VMConfigPortForwardForm: View {
.help("Guest Address")
NumberTextField("Guest Port", number: $forward.guestPort, prompt: "1234")
.help("Guest Port")
DefaultTextField("Host Address", text: $forward.hostAddress.bound, prompt: "127.0.0.1")
DefaultTextField("Host Address", text: $forward.hostAddress.bound, prompt: "0.0.0.0")
.help("Host Address")
NumberTextField("Host Port", number: $forward.hostPort, prompt: "1234")
.help("Host Port")