To forward your local port to Public using ngrok, you need to set it up first on your computer. For that, you can go through the aforementioned steps so that you do not encounter any issues while doing so. Next, you can use the Command Prompt, Windows PowerShell, or Windows Terminal to get things on the line. For your information, you need to use the CMD with administrator permission to get more options.