• Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
  • Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
No Result
View All Result
Home Debian

How to Install Ngrok on Ubuntu 22.04 LTS

techdhee by techdhee
March 2, 2023
0 0
0
Install Ngrok on Ubuntu 22.04 LTS

In this tutorial, we wil learn how to install ngrok on Ubuntu 22.04 LTS. Ngrok is a globally distributed reverse proxy fronting your web services running in any cloud or private network, or your machine. It is a tunneling tool used to expose a locally running application to the internet. You can download it for free with all of the functionality.

And explore our locally hosted web server running on port 8081. Here, we are going to change the default port number 80 to 8081. As our web server runs on port 8081, you should use this command: $ ./ngrok http 8081.

When you run this command, you should see an output similar to the following:

ngrok 
Ctrl+C to quit)   http://localhost:4040/ to inspect, replay, and modify your requests  
Session Status                online
Account                       tecdhee (Plan: Free) 
Version                       3.0.6
Region                        India (in)
Latency                       114ms
Web Interface                 http://127.0.0.1:4040
Forwarding                    https://a07a-223-187-110-110.in.ngrok.io -> http://localhost:8081
Connections                   ttl     opn     rt1     rt5     p50     p90
                              1       0       0.01    0.00    5.32    5.32

So here my local web server is already running on my local machine. Only we have to deploy the ngrok.

Contents hide
1 Create a Ngrok account
2 Download ngrok
3 Extract the ngrok file
3.1 Configure the ngrok
3.2 Run your ngrok
3.3 Video
3.4 Finally

Create a Ngrok account

So, first of all, we must create a ngrok account to use the services. Go to the official website and create an account. If you have already an account just login it.

Create a Ngrok account

Download ngrok

Here you have to download the ngrok first. It is available for macOS, Windows, Linux, and FreeBSD. You can download directly r you can use wget command also.

Ngrok Deshboard

Extract the ngrok file

After downloading the ngrok binary you have to extract the .tgz file.

So go to the Download directory and run the following commands in the terminal.

$ cd Downloads$ tar -xvf ngrok.x.x.x.tgz

Extract Ngrok file in UbuntuConfigure the ngrok

You will find the all details in the dashboard.  You have to copy your auth token from the dashboard. And run the following command in the terminal. Only your auth token will be changed.

$ ./ngrok config add-authtoken [auth token]

Install Ngrok on Ubuntu 22.04 LTS

Run your ngrok

Now run the ngrok using the following command.

./ngrok http 8081

Install Ngrok on Ubuntu 22.04 LTS

Now you can open the ngrok link anywhere in the world. And you can use your local web server.

Install Ngrok on Ubuntu 22.04 LTS

This is the way how you can download and run the ngrok on Ubuntu 22.04 and use your local web server anywhere in the world.

Video

You can watch this video on how to install ngrok on Ubuntu 22.04 LTS step by step without any error.

Finally

Thank you for reading this post and keep connected to TECH DHEE to continue enjoying excellent posts. Share your views about this post in the comment section below. If you still have any queries, throw them in the comment section. If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and useful for others.

ShareTweetSendShareSend
Previous Post

How To Install the Apache2 on Ubuntu 22.04

Next Post

How to install Tweak Tool on Ubuntu 22.04 LTS

techdhee

techdhee

Related Posts

Debian

How to install Tweak Tool on Ubuntu 22.04 LTS

March 3, 2023
Debian

How To Install the Apache2 on Ubuntu 22.04

March 1, 2023
how to install Debian 11
Debian

How to Install Debian 11 (bullseye)

February 28, 2023
add user to sudoers in Debian
Commands

How to Add User to Sudoers in Debian 11

February 27, 2023
Debian

Install Open VM Tools on Debian 11 Bullseye

February 26, 2023
Install VLC on Ubuntu 22.04
Ubuntu

How to Install VLC on Ubuntu 22.04 LTS

February 25, 2023

Leave a Reply Cancel reply

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

You might also like

How-to-Check-Windows-10-is-Genuine-or-Not-Genuine

How to Check Windows 10 is Genuine or Not Genuine

August 6, 2023
How to Install Arch Linux

How to Install Arch Linux [Step by Step Guide]

August 6, 2023
Terminal Emulators for Linux

Top 6 Terminal Emulators for Linux

August 5, 2023
How to Install Tor Browser in Kali Linux 2023.1

How to Install Tor Browser in Kali Linux 2023.1

April 2, 2023

How to install Tweak Tool on Ubuntu 22.04 LTS

March 3, 2023
Install Ngrok on Ubuntu 22.04 LTS

How to Install Ngrok on Ubuntu 22.04 LTS

March 2, 2023

© 2024 tecdhee.com - Tech Tips, Tricks and Tutorials.

  • Home
  • About Us
  • Contact
  • Disclaimer
  • Privacy Policy
No Result
View All Result
  • About Us
  • Contact
  • Disclaimer
  • Home
  • Privacy Policy

© 2024 tecdhee.com - Linux Tips, Tricks and Tutorials.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In