HOW TO DONWLOAD & SETUP NGROK:
- Go to the
ngrok WebSite
. (https://ngrok.com/) - Create a
ngrok Account
. (without it you can't use ngrok) - Once you created the Account you can download
ngrok
or use this link to download it: https://ngrok.com/download - Finished downloading
ngrok
you will need to create a Folder called "ngrok" (or whatever you want) where you want. - Take the content of the
.zip
downloaded before and copy it in the Folder that you created. - Inside of you
ngrok Folder
you need toSHIFT + RIGHT-CLICK
e navigate until you find theOpen PowerShell window here
option. - Once in the PowerShell you'll need to go back to the
ngrok Site
(https://ngrok.com) in your Account Section. - You should see on the left a section called Your Authtoken, once opened you'll need to copy your
Token
. - Open the PowerShell Window and write
.\ngrok.exe config add-authtoken <Token>
, replace<Token>
with the one copied earlier. - You've finished the Installation & Setup of
ngrok
! :D
HOW TO USE NGROK TO HOST A MINECRAFT WORLD FOR YOUR FRIENDS:
DISCLAIMER: Use ngrok ONLY with people you trust because if someone knows how they can get your IP!
- Open
ngrok
as shown in the 6th point of Installation & Setup. - Enter the Minecraft World of your choice.
- Press
ESC
e click on Open to LAN, set your options e click on Start LAN World. - Once done you'll see in the Chat a message with the Port on which the World ha been opened to LAN, copy it and go on the
ngrok PowerShell Window
. - Inside of the PowerShell write
.\ngrok.exe tcp <Port>
, replace<Port>
with the number that you copied earlier. - The PowerShell will change aesthetically and you should see a different window, go under the voice that says
Forwarding
and copy whatever you see before->
and after thetcp://
, it should look like something like this4.tcp.eu.ngrok.io:13475
. (Note that to copy the IP you'll need to clickRIGHT-CLICK
and notCTRL + C
because this will close the Terminal) - Now you only need to send the IP to your friends and have fun!
COME SCARICARE E CONFIGURARE NGROK:
- Andare sul sito di ngrok. (https://ngrok.com/)
- Creare un Account di ngrok. (senza di esso non potrete usare ngrok)
- Una volta creato l'Account potete scaricare ngrok dal sito oppure utilizzando questo link: https://ngrok.com/download
- Finito di scaricare create una cartella chiamata "ngrok" (o come preferite) dove volete all'interno del vostro PC.
- Prendere il contenuto del
.zip
scaricato precedentemente e spostatelo nella cartella appena creata. - All'interno della vostra cartella
ngrok
premete in uno spazio senza elementi la combinazione di tastiSHIFT + TASTO DESTRO
e navigate fino alla voce che diceApri nel PowerShell di Windows
. - Una volta aperto il PowerShell dovete andare sul sito di ngrok (https://ngrok.com/) nella sezione del vostro Account.
- Dovreste vedere sulla sinistra una sezione chiamata Your Authtoken, una volta aperta quella sezione dovrete copiare il vostro
Token
. - Aprite la finestra del PowerShell e digitate
.\ngrok.exe config add-authtoken <Token>
, cambiate<Token>
con il vostro. - Hai finito l'Installazione e la Configurazione di ngrok! :D
COME USARE NGROK PER HOSTARE I PROPRI MONDI PER I PROPRI AMICI:
DISCLAIMER: Usate ngrok UNICAMENTE con le persone di cui vi fidate siccome una persona competente potrebbe utilizzarlo per risalire al vostro IP!
- Aprite
ngrok
come mostrato nel passaggio 6 dell'Installazione & Configurazione. - Entrate nel mondo di Minecraft che volete aprire ai vostri amici.
- Premete
ESC
e cliccate su Apri in LAN / Open to LAN, inserite le impostazioni che volete e dopo cliccate su Avvia il mondo in LAN / Start LAN World. - Una volta fatto ciò in Chat vi comparirà la Porta sulla quale è stato aperto il vostro mondo, copiatela e andate sul PowerShell di
ngrok
. - All'interno del PowerShell scrivete
.\ngrok.exe tcp <Porta>
, sostituite<Porta>
con il numero che avete appena copiato. - Il PowerShell cambierà estetica e dovreste vedere una schermata diversa, dovete andare sotto la voce di
Forwarding
e copiare tutto quello che si trova prima del->
e dopo iltcp://
, dovrebbe assomigliare a qualcosa di questo tipo4.tcp.eu.ngrok.io:13475
. (Piccolo appunto per copiare l'IP dovete evidenziarlo e premereTASTO DESTRO
e nonCTRL + C
poiché questa combinazione chiude il Terminale) - Ora l'unica cosa che ti manca è inoltrare l'IP ai tuoi amici e divertirti!