llama.cpp release b11744 adds the experimental --connect option to its server. It is intended to allow peer-to-peer access to a llama.cpp server from outside the local network, adding a connection option for people running their own servers.
The release notes indicate that this requires a tunnel: the server should not display a connection code without one. Setting --connect-code alone is therefore not enough to provide the connection. The server dials llama-connect through its bound port.
The implementation uses the server’s actual HTTP port, including with --port 0 and a GCP override. The release also mentions a Windows build fix and restoring the default for --reasoning-preserve in generated documentation. The source provides further changes and implementation details: llama.cpp release b11744.
🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b11744