Respect config.gateway.port when --port is omitted, while keeping CLI flags as the highest-precedence override.