HOW TO USE NGROK TO EXPOSE LOCALHOST ON THE INTERNET

preview_player
Показать описание
Ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels.

MY BOOK
This book is a step by step guide for everyone who wants to start as a blockchain developer. It was designed for those who have never programmed anything in blockchain and want to get started. I will cover everything from installing basic requirements to writing, testing and deploying smart contracts. I also cover topics like IPFS, ENS, Chainlink, Truffle, Ganache, OpenZeppelin, Pinata, Fleek, Infura, Metamask, Opensea, among others.

OUTLINE

DOWNLOAD

00:12 - Click on "Get started for free"
00:17 - Sign up or sign in with your account
00:26 - Click on "Download"
00:36 - Open the downloaded file
00:41 - Extract the file content

MOVE FILE (OPTIONAL)

00:53 - Copy or move the ngrok file
00:57 - Go to your project
01:04 - Open the containing folder in file explorer
01:10 - Select the destination folder
01:16 - Paste the ngrok file
01:22 - Copy the destination folder location

SETUP

01:26 - Go to your project
01:29 - Open the command line
01:34 - Open the folder where ngrok is located
01:41 - Go to the ngrok page
01:49 - Copy the command (ngrok authroken)
01:55 - Go back to command line
01:58 - Paste and run the command (ngrok authroken)
02:25 - Go back to ngrok page
02:13 - Copy the command (ngrok http)
02:16 - Go back to command line
02:18 - Paste command (ngrok http)

START LOCALHOST

02:22 - Go to your project
02:25 - Start your project
02:38 - Copy your project base url (including port number)

START NGROK

02:44 - Go back to command line
02:47 - Paste your project base url (after ngrok http)
02:51 - Ngrok started
03:00 - Copy the generated forwarding url
03:03 - Go to your browser
03:06 - Paste the forwarding url in the base url of your project
03:07 - Go to the url, now it's public!

#ngrok #localhost #microservice

Рекомендации по теме
Комментарии
Автор

When i clicked cut nothing happened? Is it just my computer?

Userabhj
Автор

DUDE YOU NEED TO BLUR OUT THAT AUTH TOKEN.

folddyy