Frameworks
Guides on localhost tunneling, local webhook debugging, ngrok alternatives, and secure HTTPS tunnels for modern development teams.

How to Use PortPreview with an Astro App
Tunnel Astro sites and hybrid apps with PortPreview. Server endpoints, allowedHosts, and HTTPS previews for content and API routes.

How to Use PortPreview with a Nuxt.js App
Share Nuxt 3 apps over HTTPS with PortPreview. Dev server host config, server routes for webhooks, and OAuth callback URLs for local development.

How to Use PortPreview with a SvelteKit App
Tunnel SvelteKit dev servers with PortPreview for HTTPS previews, form actions, webhooks, and mobile testing. Vite server options and +server routes.

How to Use PortPreview with a Rust Axum App
Expose Axum APIs through PortPreview for webhooks and OAuth. Tokio listener binding, raw body extraction, and tunnel-friendly configuration.

How to Use PortPreview with a Go Gin App
Tunnel Go Gin APIs with PortPreview for webhooks and OAuth. Listen on 0.0.0.0, raw body verification, and header forwarding for local HTTPS development.

How to Use PortPreview with an ASP.NET Core App
Run ASP.NET Core behind PortPreview for webhooks, Azure AD OAuth, and API testing. Kestrel binding, forwarded headers, and minimal API webhook patterns.

How to Use PortPreview with a Ruby on Rails App
Tunnel Rails with PortPreview for Stripe webhooks, OmniAuth callbacks, and stakeholder previews. config.hosts, force_ssl, and webhook CSRF patterns.

How to Use PortPreview with a Spring Boot App
Expose Spring Boot on localhost through PortPreview for webhooks, OAuth, and API demos. Forwarded headers, server.address binding, and webhook controller patterns.

How to Use PortPreview with a Flask App
Tunnel Flask dev servers with PortPreview for webhooks and OAuth callbacks. Host binding, raw payload verification, and ProxyFix for HTTPS awareness.

How to Use PortPreview with a NestJS App
Use PortPreview with NestJS for HTTPS webhooks and OAuth during development. Listen on 0.0.0.0, raw-body webhooks, and APP_URL configuration.

How to Use PortPreview with a FastAPI App
Run FastAPI behind PortPreview for async webhooks, OpenAPI demos, and OAuth. Uvicorn binding, raw request bodies, and CORS for tunneled frontends.

How to Use PortPreview with a Laravel App
Tunnel Laravel with PortPreview for Stripe webhooks, Socialite OAuth, and client demos. APP_URL, TrustProxies, and CSRF exclusions explained.

How to Use PortPreview with a Django App
Expose Django runserver through PortPreview for webhooks and OAuth. ALLOWED_HOSTS, CSRF_TRUSTED_ORIGINS, and raw-body webhook views for local HTTPS.

How to Use PortPreview with a Vue.js App
Tunnel your Vue 3 Vite app with PortPreview for HTTPS previews, OAuth redirects, and mobile testing. Vite server config and env patterns included.

How to Use PortPreview with a React + Vite App
Share your React Vite dev server over HTTPS with PortPreview. Fix allowedHosts, enable HMR through the tunnel, and test OAuth and mobile layouts locally.

How to Use PortPreview with a Symfony App
Run Symfony behind PortPreview for HTTPS webhooks and OAuth. Trusted hosts, proxy headers, APP_URL, and webhook controller patterns for local PHP development.

How to Use PortPreview with an Express.js App
Tunnel your Express API with PortPreview for webhooks, OAuth, and client demos. Trust proxy, CORS, and raw-body patterns for local HTTPS development.

How to Use PortPreview with a Next.js App
Expose your Next.js dev server over HTTPS with PortPreview. OAuth redirects, App Router webhooks, mobile previews, and env tips — without deploying to staging.

NestJS Webhooks: rawBody, Signature Guards, ValidationPipe Traps
Test NestJS webhooks locally: rawBody at bootstrap, signature guards on req.rawBody, dodge ValidationPipe traps, and expose nest start via PortPreview.
![A Spring Boot RestController on embedded Tomcat verifying webhook signature headers from raw byte[] payload received through a local tunnel.](/_next/image?url=%2Fimages%2Farticles%2Fspring-boot-webhook-local-testing%2Fcover.png&w=3840&q=75)
Spring Boot Webhooks: Raw Body, CSRF Exempt, Signature Headers
Test Spring Boot webhooks locally: @RestController, raw byte[] bodies, CSRF off for webhook paths, signature headers, embedded Tomcat + PortPreview.

Laravel Webhooks: CSRF Exemption, Raw Body, Signature Checks
Test Laravel webhooks locally without 419 errors: VerifyCsrfToken exceptions, getContent() for raw signatures, php artisan serve, and PortPreview tunnel setup.

FastAPI Webhook Local Testing: Request.body, Signatures, Async Safety
Test FastAPI webhooks on localhost with Request.body signature checks, async-friendly handlers, and idempotent retry handling before shipping to production.

Express Webhook Local Testing: Raw Body, Route Scope, Safe Compare
Test Express webhooks locally with route-scoped express.raw, exact raw-body signature verification, and timing-safe comparison to prevent subtle security bugs.

Django Webhooks: Past CSRF and Into the Handler
Test Django webhooks locally without CSRF blocking POSTs. Real fixes for raw body access, signature verification, and the DRF parser order trap.

Next.js Webhooks on Localhost, Done Right
Test Next.js webhooks locally with a tunnel. Raw body in route handlers, App Router edge cases, and the Stripe signature pattern that actually works.