Forrest logo
tool overview
On this page you find all important commands for the CLI tool ngrok. If the command you are looking for is missing please ask our AI.

ngrok

Ngrok is a command line tool used for creating secure tunnels to localhost or any other specified server. It allows secure access to local development environments over the internet.

With Ngrok, developers can expose a local web server to the internet and share it with others for testing purposes. It eliminates the need for deploying the code to a public server for demonstration or collaboration purposes.

It supports various protocols like HTTP, HTTPS, TCP, and others, making it versatile for different types of development environments. Ngrok also handles hosting static websites for quick sharing or testing.

Ngrok provides tunneling capabilities by creating a secure, encrypted connection between the local machine and its server. This ensures that data transmitted through the tunnel is protected.

It provides a command line interface (CLI) for easy setup and management of tunnels. Developers can configure tunnels using simple commands, making it a user-friendly tool.

Ngrok offers a web-based interface, where users can monitor and inspect the traffic passing through the tunnels. It provides detailed information like requests, responses, headers, and more.

It supports features like custom subdomains, password authentication, and IP whitelisting for additional security and access control.

Ngrok has both free and paid plans. The free plan offers limited features, while the paid plans provide higher usage limits and additional features like custom domains and reserved TCP addresses.

It is compatible with various operating systems, including Windows, macOS, and Linux, making it widely accessible to developers across different platforms.

Overall, Ngrok is a powerful tool for developers to create secure tunnels and share local development environments without the need for public servers or complex network configurations.

List of commands for ngrok:

  • ngrok:tldr:50b50 ngrok: Expose a local HTTP service on a specific host.
    $ ngrok http ${foo-dev}:${80}
    try on your machine
    explain this command
  • ngrok:tldr:693a5 ngrok: Expose a local HTTP service on a given port.
    $ ngrok http ${80}
    try on your machine
    explain this command
  • ngrok:tldr:772f9 ngrok: Expose TLS traffic for a specific host and port.
    $ ngrok tls -hostname=${foo-com} ${443}
    try on your machine
    explain this command
  • ngrok:tldr:788a7 ngrok: Expose TCP traffic on a given port.
    $ ngrok tcp ${22}
    try on your machine
    explain this command
  • ngrok:tldr:c38f7 ngrok: Expose a local HTTPS server.
    $ ngrok http https://localhost
    try on your machine
    explain this command
tool overview