npx wrangler dev --ip 0.0.0.0

Category: Cloudflare

npx wrangler dev --ip 0.0.0.0

Expose the dev server on all network interfaces

Binds the dev server beyond localhost so other machines, phone browsers, or containers on the network can reach it. The default binds to localhost only, which is safer. Pair with --port to pick the listening port, as in `npx wrangler dev --ip 0.0.0.0 --port 3000`.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.