Skip to main content
Install the ngrok agent and connect it with your authtoken. On Linux or Windows, get the agent from the download page instead.
The last command puts the service on that port online, whether it runs on your laptop or a production server. Pick a job below to secure it, route it, or connect more services.
New to ngrok? Read What is ngrok? for the big picture first.

What do you want to do?

Run production traffic

Connect customer networks

Reach APIs and databases you don’t host.

Secure an API

Authenticate, rate limit, and route requests to your API.

Reach devices in the field

Connect to devices without opening inbound ports.

Receive webhooks on-prem

Verify webhooks, then route them to private services.

Expose Kubernetes services

Add ingress to any cluster with ngrok.

Open SSH and RDP sessions

Reach remote shells and desktops without a VPN.

Call AI models

Make your first request

Call OpenAI or Anthropic without a provider account.

Use a model you run

Route to Ollama or vLLM on hardware you control.

Bring your own keys

Bill requests to your provider accounts, not credits.

Build and test on your machine

Share a local app

Put localhost on a public URL with one command.

Test webhooks locally

Receive, inspect, and replay webhooks as you build.

Test a mobile app

Point a real device at your local backend.

Gather what you need

Every quickstart starts from an ngrok account. Most also ask for one of these: The ngrok MCP server signs in with OAuth, so it needs only your account.

Choose how you run ngrok

Every product works with the same tools, so pick the one that fits where your service runs.

CLI

Run ngrok on any machine or device.

SDKs

Embed ngrok in Go, JavaScript, Python, or Rust.

Kubernetes Operator

Use Ingress, Gateway API, or CRDs.

Cloud Endpoints and the API

Configure endpoints in the dashboard, API, or Terraform, with no agent.

Get help

FAQ

Answers to account, billing, and platform questions.

Error codes

Look up any ERR_NGROK code and its fix.

Pricing and limits

See what each plan includes and how usage is billed.

From the changelog

View all updates · Subscribe via RSS