Step-by-step localhost tunneling
Practical tutorials for exposing localhost, testing webhooks, and sharing dev servers — verified against LocalToLink CLI 1.0.1.
$ npx --yes localtolink@latestStart here
How to Expose Localhost to the Internet (Step-by-Step)
How to expose localhost to the internet: HTTPS public URL with npx localtolink — webhooks, OAuth callbacks, and phone testing in one walkthrough.
WebhooksTest Webhooks Locally
Pillar hub: choose Stripe CLI vs HTTPS tunnel, pick your provider from the table, and register a public webhook URL on localhost.
Use CasesShare Localhost with a Client (Demo Checklist)
Pre-call checklist: start dev server, tunnel, send the HTTPS link — short how-to; see the blog for the full client-preview story.
Getting Started
Expose Localhost Without Installing Software
npx localtolink needs no global binary — Node 22.14+ only. Quick install model; see the pillar guide for full setup steps.
Getting StartedHow to Expose Localhost to the Internet (Step-by-Step)
How to expose localhost to the internet: HTTPS public URL with npx localtolink — webhooks, OAuth callbacks, and phone testing in one walkthrough.
Getting StartedLocalTunnel Not Working? Alternatives
Common localtunnel issues and when to switch to a more reliable npm-based tunnel like LocalToLink.
Webhooks
n8n OAuth and Webhooks on Localhost
Self-hosted n8n: public webhook triggers and OAuth redirect URIs on localhost via a development tunnel.
WebhooksTest GitHub Webhooks on Localhost
GitHub App and repo webhook deliveries to localhost — HMAC signature, Recent Deliveries, and tunnel URL registration.
WebhooksTest Shopify Webhooks in Development
Shopify Admin custom app webhooks in dev — HMAC validation and tunnel URLs without a public staging store.
WebhooksTest Stripe Webhooks Locally
Stripe CLI listen vs Dashboard test webhooks through a tunnel — signature verification and whsec secrets on localhost.
WebhooksTest Twilio Webhooks Locally
Twilio voice and SMS status callbacks on localhost — configure webhook URLs and validate X-Twilio-Signature over HTTPS.
WebhooksTest Webhooks Locally
Pillar hub: choose Stripe CLI vs HTTPS tunnel, pick your provider from the table, and register a public webhook URL on localhost.
Frameworks
Next.js Dev Server Through a Tunnel
Configure allowedDevOrigins for Next.js 15.2+ when accessing your dev server through a LocalToLink tunnel.
FrameworksVite HMR Through a Tunnel (Config Checklist)
Copy-paste vite.config.js settings for allowedHosts and HMR over HTTPS — pair with the deep-dive blog on why HMR breaks.
Use Cases
OAuth Callback on Localhost (Step-by-Step)
Register redirect URIs, run npx localtolink, and complete the auth code flow against your local handler — procedural checklist.
Use CasesShare Localhost with a Client (Demo Checklist)
Pre-call checklist: start dev server, tunnel, send the HTTPS link — short how-to; see the blog for the full client-preview story.
Use CasesTest Localhost on Your Phone
Use LocalToLink's terminal QR code to open your local dev server on a phone or tablet over HTTPS.
Use CasesWebSocket Through a LocalToLink Tunnel
LocalToLink supports bidirectional WebSocket passthrough for HMR, chat apps, and real-time APIs.
From the blog
View all articles →Client Demo Checklist: Localhost Without Surprises
Prepare your dev tunnel before a client call so the demo does not fail mid-presentation.
Getting StartedExpose Localhost to the Internet in One Command
Quick hook: one npx command, ~10 seconds to a public HTTPS URL — then follow the step-by-step pillar guide for webhooks and OAuth.
TroubleshootingDo You Need a Full Tunnel Setup for a 30-Minute Test?
Heavy tunnel infrastructure is right for staging and production — not for a one-off webhook or client preview.
Ready to try?
No account. No credit card. One command.
$ npx --yes localtolink@latest