What is Ngrok?

12.12.2022
16:33

In the development process, it is often necessary to show something to someone, to demonstrate functionality. Sometimes an additional server is deployed for this purpose, but it is expensive, troublesome, and sometimes inexpedient. What else can you do in this case? As an option, you can use a special Ngrok service.

What is Ngrok service

Ngrok is a service that allows you to make local ports available without preconfiguring the network router, DDNS. With this utility you will be able to create tunnels between your PC and a remote server. That is, all conditions will be created to provide access to it domain.

What is necessary for this? Just register on the site, install the utility on the PC, and then execute the command to provide access. This method is not suitable if it is necessary for the service to be continuously available, but to demonstrate the work of the local site.

How to start working with the service

Very simple. Perform a few simple actions:

  1. Download the ngrok file.
  2. Get the token by registering on the site.
  3. Make sure your service is running and waiting for HTTP requests.
  4. Open ngrok.

Using Ubuntu or another distribution with the snap package manager installed? Use the manager to install ngrok.

Execute the command:

$ snap install ngrok

Now you know what Ngrok is. In the next articles we will talk about how to use it properly.

15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

12.12.2022
4 446
Knowledge base / Instructions
How to configure autorun of user services in loginctl
12.12.2022
8 161
Knowledge base / Instructions
Switching to another session and terminating processes in loginctl
12.12.2022
6 141
Knowledge base / Instructions
MySQL - how to install on Windows Server