Repository navigation
Clarify in README that -H 0.0.0.0 starts a public Cloudflare tunnel - #7007
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the README.md documentation to explain that binding to all network interfaces with -H 0.0.0.0 starts a public Cloudflare quick-tunnel by default, and introduces the --no-cloudflare flag to disable it. The review feedback suggests minor phrasing and terminology improvements to enhance readability and maintain a professional tone.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| unsloth studio --secure -p 8888 | ||
| ``` | ||
| - `-H 0.0.0.0`: bind the raw port on all network interfaces, reachable from anywhere on the network. Only use this on a trusted network. | ||
| - `-H 0.0.0.0`: bind the raw port on all network interfaces, reachable from anywhere on the network. Only use this on a trusted network. This also starts a public Cloudflare tunnel by default, exposing Studio to the internet at a `https://*.trycloudflare.com` URL that works even behind a firewall. Pass `--no-cloudflare` to drop the public link while keeping the network bind. |
There was a problem hiding this comment.
To improve readability and maintain consistency with standard terminology (and the rest of the codebase), we can remove the hyphen from "quick-tunnel" to make it "quick tunnel". Additionally, we can streamline the parenthetical "(when it comes up)" to "once connected" or "once established" for a more professional tone.
| - `-H 0.0.0.0`: bind the raw port on all network interfaces, reachable from anywhere on the network. Only use this on a trusted network. This also starts a public Cloudflare tunnel by default, exposing Studio to the internet at a `https://*.trycloudflare.com` URL that works even behind a firewall. Pass `--no-cloudflare` to drop the public link while keeping the network bind. | |
| - `-H 0.0.0.0`: bind the raw port on all network interfaces, reachable from anywhere on the network. This also starts a public Cloudflare quick tunnel by default, which publishes an internet-reachable `https://*.trycloudflare.com` URL once connected (even behind a firewall). Both the raw port and the tunnel expose Studio beyond this machine, so only use this on a network you trust; pass `--no-cloudflare` to drop the public link while keeping the network bind. |
There was a problem hiding this comment.
Fixed: adopted Cloudflare's own 'quick tunnel' terminology and merged the trust warning to cover both the raw port and the tunnel.
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
The README described
-H 0.0.0.0as a LAN-only bind ("Only use this on a trusted network"), but a wildcard bind also starts a public Cloudflare tunnel by default and publishes an internet-reachablehttps://*.trycloudflare.comURL. A user was caught out by this on Discord: they launched for the local network and ended up exposed to the internet, with nothing in the docs about it.Docs-only. The
-H 0.0.0.0bullet now says it starts a public tunnel by default, that the URL works even behind a firewall, and that--no-cloudflaredrops the public link while keeping the network bind. The startup warning banner for this already exists (#6515).