YOUR LAPTOPCLOUDFLAREA VISITORtrycloudflare.comedge · answers for youcloudflare~/hello $ node server.jsopen http://localhost:3000$ cloudflared tunnel --url http://localhost:3000connected · trycloudflare.comzz200 OKhello, world
The tunnel cloudflared keeps open, laptop to CloudflareA visitor's request, phone to CloudflareYour laptop, the actual web serverA visitor's phone asks Cloudflare for the page. Cloudflare has no copy of your site: it sends the request down the tunnel that cloudflared opened from your laptop, server.js on localhost:3000 answers, and the reply goes back the same way. Close the lid and the tunnel has nobody at the other end, so the visitor gets an error. Open it and cloudflared dials out again.