How to Configure Ngrok on ubuntu

Blog
Spread the love

Ngrok allows you to expose a web server running on your local machine to the internet by simply specifying the port your web server is listening on.

Please follow the steps to configure:

Step 1: Create an account on the ngrok and verify your email.

Click Here to login to the ngrok dashboard. The landing page will
be looks like below screenshot:

extention_2023

Now here we can see the setup & installation guid on different OS. Here we’re going to demonstrate to setup on linux OS.

Step 2: Install ngrok in linux by commands

$ sudo snap install ngrok

$ ngrok –version

Step 3: Configure auth token to ngrok in linux $ ngrok config add-authtoken

extention_2023

Step 4: Configure defualt apche .conf to point to our magento project

In linux default conf file will be locate at /etc/apache2/sites enabled/000-default.conf.

Change setting as below —-

once this is done , make sure your project is running for
http://localhost:80

Step 5 : Get Ngrok url

$ ngrok http 80

extention_2023

Web interface: This URL shows all requests coming from ngrok url.

Forwarding URL (https url ) will point to our local Magento anywhere in the world!!

Copy the forwarding URL: https://6faa-49-36-191-43.ngrok-free.app/
from your terminal.

Now, update the value of the “web/unsecure/base_url” config path in
the core_config_data table with forwarding URL.

https://6faa-49-36-191-43.ngrok-free.app /

Tip: The ngrok url will change once you restart the ngrok or run the
command

: $ ngrok http 80

References:

https://ngrok.com/docs

Vikas Mishra

Vikas Mishra

2023-11-28

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

Custom API to Fetch Customer Data by Customer ID in Spryker

Spread the love Introduction In this blog post, we will

Creating a Custom Module for a Custom Frontend Page in Spryker

Spread the love To create a custom module for a custom

How to create custom module api get category list without access token in Spryker

Spread the love To create a custom API for fetching a

Creating a Custom Glue API in Spryker

Spread the love Spryker’s Glue API is a powerful tool

Get AI Generated 360-Degree View of Account Summary in Dynamics 365 Sales

Spread the love Navigating the demanding landscape of sales

Enhancing Productivity with Dynamics 365: The Power of Session Restore

Spread the love Enhancing Productivity with Dynamics 365:

Salesforce Admin

Spread the love In our last blog, we discussed common

Unlocking AI with Spring Boot: Real-World Use Cases and Solutions

Spread the love Artificial Intelligence (AI) has moved from

Enhancing Performance with Reactive Java: A Beginner-Friendly Guide

Spread the love In today’s fast-paced software

Integrating Azure Function with Dynamics 365

Spread the love Signup on azure portal and make sure to

bluethinkinc Blogs