Opening

To open your server in localhost with ngrok is very simple, here we will show you how to do it in the simplest way

Download ngrok

First, we will download ngrok from its page, if you download it for Windows, you have to download it in zip, choose the option of 32 or 64 bits, depending on the bits of your operating system.

Once you have it on your desktop, unzip the file and install ngrok.

Opening the server

Once we have ngrok installed, we open the program and we will get a terminal, in that terminal we have to execute the following command

ngrok tcp (port)

The port you have to replace it with the port of your server, you can find it in the server.properties file, if you have not changed the port in the server.properties, the port is 25565, that is to say, the command would be this one

ngrok tcp 25565

When you execute this command the server will be open and users will be able to log in, the IP will appear in the terminal.

In this case, the IP would be6.tcp.eu.ngrok.io:12668

You must always keep the ngrok terminal and the console on to keep the server online

Tect.host, all rights reserved | 2023 copyright ©

Last updated