qwen-code PR lets Local Control accept VPN and public-range enterprise LAN addresses

pomelo-nwu · ghdev · 2026-10-14

PR #14140 in QwenLM/qwen-code fixes Local Control being completely unusable in some enterprise environments: when a host's only non-loopback IPv4 is outside RFC 1918/3927 (some corporate intranets number LANs from public ranges) or sits on a VPN/tunnel interface (phone and laptop on the same corporate VPN), qwen serve --local-control fails with "No private IPv4 address is available", and --local-control-address couldn't help since it only disambiguated among already-filtered candidates.

The fix: an explicitly passed address is treated as operator intent—Local Control accepts any non-internal, non-loopback IPv4 the host actually has. Automatic advertisement stays RFC 1918/3927-only; out-of-private-space picks log a loud warning. The LAN listener still enforces the pairing token (401 without it).

Original post →

More from coding & agent

coding & agent channel →