Create and manage ngrok Endpoints to deliver and manage traffic to your services.
An ngrok Endpoint is a URL that enables network traffic to reach your services.You can think of endpoints as a gateway to anything you want to enable access for—whether that’s a local development server on your laptop, a production Kubernetes cluster, a database behind a corporate firewall, or a cloud API. Endpoints bridge the gap between your resources and the traffic that needs to reach them.
Endpoints are ngrok’s universal gateways, letting you:
Go live instantly: Enable access to local prototypes, internal tools or Kubernetes services in seconds.
Talk to anything: APIs, Kubernetes clusters, game servers, third-party tools, IoT devices, legacy apps—endpoints support them all.
Secure access: Effortlessly lock down access with encryption, authentication, or IP restrictions to whatever you need without code changes.
Observability: Instantly gain insights into how traffic is flowing through endpoints with our Traffic Inspector and Log Exporting.
Simplify your stack: Reduce infrastructure sprawl by chaining endpoints and embedding logic directly into traffic flow—rate limiting, mock responses, or security policies, executed at the edge with no code required.
You can specify your endpoint’s URL protocol to indicate the type of traffic it should handle. This allows you to configure your endpoint to match your services and application type:
Enable access to a local web app on port 8080 with the ngrok CLI:
Report incorrect code
Copy
ngrok http 8080
This command will start an Agent Endpoint that forwards traffic through the ngrok CLI agent to your locally running application on port 8080.To learn more, follow ngrok’s Quickstart.
Free and Hobbyist plans allow you to use your included credit to start endpoints.On the Pay-as-you-go plan, there is no limit on the number of endpoints you can create. An endpoint that transmits data in a clock hour is counted as an active endpoint for that hour and charged an endpoint hour.See Pricing for more information.
Cloud Endpoints: Create always-on endpoints to deliver and manage traffic to custom responses, internal endpoints or third-party services.
Great for centralized configuration and routing across multiple services and handling failover when your upstream applications and services are offline.
Agent Endpoints: Create an endpoint that only exists as long the agent is running to deliver and manage traffic to your local applications, files, services or third-party services.
Great for load balancing and managing individual APIs, services, applications, devices and forwarding traffic to third-party destinations.