// use case
Expose your Express server on the public internet
app.listen(3000) is private. You need https for OAuth providers, Apple Pay, Stripe webhooks. lrok tunnels Express in one command, no code change.
Run Express
$ node server.jsTunnel
$ lrok http 3000app.set('trust proxy', true)
Tell Express to trust X-Forwarded-* so req.ip and req.protocol reflect the actual client and lrok's https — not 127.0.0.1 / http.
// why lrok for this
lrok preserves the original Host header (sub.lrok.io) so Express middlewares that key on host (multi-tenant routing, virtual hosts) work without rewrites.