During the development process, there is often a need when you need to show someone something, demonstrate functionality. Sometimes an additional server is deployed for this, but it is expensive, troublesome, and sometimes impractical. What else can I do in this case? Alternatively, use a special Ngrok service.
Ngrok is called a service that allows you to create local ports available without first configuring NAT, router, DDNS and other protocols. With this utility, you can create tunnels between a PC and a remote server. That is, all conditions will be created to provide access to it from a unique domain.
What is needed for this? Just register on the website, install the program on your PC, and then run the command to ensure access. This method is not suitable if it is necessary for your service to be available all the time, but it is very simple to demonstrate how a local site functions or test the operation of the Callback API.
Very simple. Follow a few simple steps:
- download ngrok file;
- get a token by registering on the site;
- make sure that your service is running and waiting for HTTP requests;
- open ngrok.
Are you 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 following articles we will talk about how to use it correctly.
Apply the discount by inserting the promo code in the special field at checkout: