Blog
Hands-on guides for the kind of work ngsrv was built for: exposing local services, sharing preview links, testing webhooks, and shipping faster.
How to expose localhost:3001 to the internet
Give localhost:3001 a public HTTPS URL in about a minute. Works with Next.js (alt port) and CRA when 3000 is taken. Copy-paste commands included.
Read postHow to expose localhost:4000 to the internet
Give localhost:4000 a public HTTPS URL in about a minute. Works with Jekyll, some Elixir/Phoenix setups, and misc Node apps. Copy-paste commands included.
Read postHow to expose localhost:4242 to the internet
Give localhost:4242 a public HTTPS URL in about a minute. Works with Stripe webhook sample apps and custom webhook handlers. Copy-paste commands included.
Read postHow to expose localhost:5000 to the internet
Give localhost:5000 a public HTTPS URL in about a minute. Works with Flask and some Express templates. Copy-paste commands included.
Read postHow to expose localhost:5173 to the internet
Give localhost:5173 a public HTTPS URL in about a minute. Works with Vite and Vue 3 dev server. Copy-paste commands included.
Read postHow to expose localhost:5500 to the internet
Give localhost:5500 a public HTTPS URL in about a minute. Works with Live Server (VS Code) and static HTML previews. Copy-paste commands included.
Read postHow to expose localhost:7860 to the internet
Give localhost:7860 a public HTTPS URL in about a minute. Works with Gradio and some ML demo UIs. Copy-paste commands included.
Read postHow to expose localhost:8000 to the internet
Give localhost:8000 a public HTTPS URL in about a minute. Works with Django, Laravel (php artisan serve), and FastAPI (uvicorn default). Copy-paste commands included.
Read postHow to expose localhost:8080 to the internet
Give localhost:8080 a public HTTPS URL in about a minute. Works with Spring Boot, Go services, Tomcat, and many Java stacks. Copy-paste commands included.
Read postHow to expose localhost:8888 to the internet
Give localhost:8888 a public HTTPS URL in about a minute. Works with Jupyter Notebook and JupyterLab. Copy-paste commands included.
Read postHow to expose localhost:9000 to the internet
Give localhost:9000 a public HTTPS URL in about a minute. Works with PHP built-in server, SonarQube local, and misc services. Copy-paste commands included.
Read postHow to share a Django dev server online
Put a public HTTPS URL in front of your local Django app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Express dev server online
Put a public HTTPS URL in front of your local Express app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a FastAPI dev server online
Put a public HTTPS URL in front of your local FastAPI app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Flask dev server online
Put a public HTTPS URL in front of your local Flask app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Laravel dev server online
Put a public HTTPS URL in front of your local Laravel app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Next.js dev server online
Put a public HTTPS URL in front of your local Next.js app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Ruby on Rails dev server online
Put a public HTTPS URL in front of your local Ruby on Rails app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Remix dev server online
Put a public HTTPS URL in front of your local Remix app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Spring Boot dev server online
Put a public HTTPS URL in front of your local Spring Boot app. One CLI command, no deploy, breakpoints still work.
Read postHow to share a Vite dev server online
Put a public HTTPS URL in front of your local Vite app. One CLI command, no deploy, breakpoints still work.
Read postHow to expose localhost:3000 to the internet
A short, copy-pasteable guide to giving localhost:3000 a public HTTPS URL with ngsrv. Works for Next.js, Express, Rails, Django, and anything else that listens on port 3000.
Read postHow to expose localhost:4200 for client previews
Give your Angular CLI dev server a public HTTPS URL in one command. The fastest path to sending a client a working preview without a deploy.
Read postHow to test webhooks locally without deploying
Set up a stable public URL that forwards Stripe, GitHub, Shopify, and Slack webhooks to your laptop. Full breakpoints, no deploy, no request bins.
Read post