Skip to main content

How Do I Handle HTTP/S traffic?

You can create HTTP/S endpoints to serve web services like REST APIs, web applications, websites and websocket servers.

Quickstart

You can create an HTTP/S endpoint using the ngrok agent configuration file. You can edit the file with the following terminal command:

Loading…

Specify the endpoint URL in your configuration as shown in the following example:

Loading…

Then, start the agent with the following command:

Loading…

Learn more

Errors

Learn how ngrok handles errors for HTTP/S endpoints in the Errors documentation.

API

HTTP/S Endpoints can be created programatically. Consult the documentation on Endpoint APIs.

Limits & pricing

HTTP/S endpoints are available on all plans. Consult the pricing documentation for general billing details.

For HTTP/S limits, see the endpoint Limits documentation.